Rector changes return typing

This commit is contained in:
2025-08-27 16:32:44 +02:00
parent da240f5ce5
commit 979b2955f6
93 changed files with 164 additions and 180 deletions

View File

@@ -25,7 +25,7 @@ final class ActivityControllerTest extends WebTestCase
/**
* @dataProvider getSecuredPagesUnauthenticated
*/
public function testAccessIsDeniedForUnauthenticated(mixed $url)
public function testAccessIsDeniedForUnauthenticated(mixed $url): void
{
$client = $this->createClient();
@@ -101,7 +101,7 @@ final class ActivityControllerTest extends WebTestCase
];
}
public function testCompleteScenario()
public function testCompleteScenario(): void
{
// Create a new client to browse the application
$client = $this->getAuthenticatedClient();

View File

@@ -57,7 +57,7 @@ final class ActivityVoterTest extends KernelTestCase
$this->prophet = new \Prophecy\Prophet();
}
public function testNullUser()
public function testNullUser(): void
{
$token = $this->prepareToken();
$center = $this->prepareCenter(1, 'center');
@@ -86,7 +86,7 @@ final class ActivityVoterTest extends KernelTestCase
Center $center,
$attribute,
$message,
) {
): void {
$token = $this->prepareToken($user);
$activity = $this->prepareActivity($scope, $this->preparePerson($center));