Skip to content

Commit

Permalink
[PHPStan][CS] Improved changes
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Niedzielski <[email protected]>
  • Loading branch information
alongosz and Steveb-p committed Jul 5, 2024
1 parent 2d7e798 commit e347340
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/lib/MVC/Symfony/Security/User/BaseProviderTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected function setUp(): void
}

/**
* @phpstan-return list<array{class-string, bool}>
* @phpstan-return list<array{class-string<\Symfony\Component\Security\Core\User\UserInterface>, bool}>
*/
public function supportsClassProvider(): array
{
Expand All @@ -63,7 +63,7 @@ public function supportsClassProvider(): array
/**
* @dataProvider supportsClassProvider
*
* @phpstan-param class-string $class
* @phpstan-param class-string<\Symfony\Component\Security\Core\User\UserInterface> $class
*/
public function testSupportsClass(string $class, bool $supports): void
{
Expand Down Expand Up @@ -178,7 +178,7 @@ public function testLoadUserByUsernameUserNotFound(): void
$this->userProvider->loadUserByIdentifier($username);
}

protected function buildUserValueObjectStub(int $userId): User
final protected function buildUserValueObjectStub(int $userId): User
{
return new User(
[
Expand Down

0 comments on commit e347340

Please sign in to comment.