mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-26 16:45:01 +00:00
Rector changes return typing
This commit is contained in:
@@ -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();
|
||||
|
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user