Skip to content

Commit e347340

Browse files
alongoszSteveb-p
andcommitted
[PHPStan][CS] Improved changes
Co-authored-by: Paweł Niedzielski <pawel.niedzielski@ibexa.co>
1 parent 2d7e798 commit e347340

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/lib/MVC/Symfony/Security/User/BaseProviderTestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protected function setUp(): void
4949
}
5050

5151
/**
52-
* @phpstan-return list<array{class-string, bool}>
52+
* @phpstan-return list<array{class-string<\Symfony\Component\Security\Core\User\UserInterface>, bool}>
5353
*/
5454
public function supportsClassProvider(): array
5555
{
@@ -63,7 +63,7 @@ public function supportsClassProvider(): array
6363
/**
6464
* @dataProvider supportsClassProvider
6565
*
66-
* @phpstan-param class-string $class
66+
* @phpstan-param class-string<\Symfony\Component\Security\Core\User\UserInterface> $class
6767
*/
6868
public function testSupportsClass(string $class, bool $supports): void
6969
{
@@ -178,7 +178,7 @@ public function testLoadUserByUsernameUserNotFound(): void
178178
$this->userProvider->loadUserByIdentifier($username);
179179
}
180180

181-
protected function buildUserValueObjectStub(int $userId): User
181+
final protected function buildUserValueObjectStub(int $userId): User
182182
{
183183
return new User(
184184
[

0 commit comments

Comments
 (0)