Skip to content

Commit 710679a

Browse files
committed
Fixed issues that PHPStan spotted
1 parent c325ef8 commit 710679a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Entity/Traits/LogRequestProcessRequestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @package App\Entity\Traits
3131
* @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
3232
*
33-
* @method array getSensitiveProperties();
33+
* @method array<int, string> getSensitiveProperties();
3434
*/
3535
trait LogRequestProcessRequestTrait
3636
{

src/Security/SecurityUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class SecurityUser implements UserInterface, PasswordAuthenticatedUserInterface
2222
{
2323
private readonly string $identifier;
24-
private readonly string | null $password;
24+
private readonly string $password;
2525
private readonly Language $language;
2626
private readonly Locale $locale;
2727
private readonly string $timezone;

0 commit comments

Comments
 (0)