Skip to content

Commit 8eb0d22

Browse files
Narrow existing return types on private/internal/final/test methods
1 parent ae71a15 commit 8eb0d22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Authentication/Token/AbstractTokenTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public function getUserIdentifier(): string
266266
return $this->name;
267267
}
268268

269-
public function getPassword()
269+
public function getPassword(): ?string
270270
{
271271
return '***';
272272
}
@@ -284,7 +284,7 @@ public function eraseCredentials()
284284
{
285285
}
286286

287-
public function getSalt()
287+
public function getSalt(): ?string
288288
{
289289
return null;
290290
}

0 commit comments

Comments
 (0)