Skip to content

Commit

Permalink
Fix PHPStan findings at `UserBasedTimezoneDetectorTest::testUserTimez…
Browse files Browse the repository at this point in the history
…oneDetection()` (#604)
  • Loading branch information
phansys authored Dec 18, 2023
1 parent 302aef7 commit a8a8d16
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/Timezone/UserBasedTimezoneDetectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,22 @@ public function __construct(?string $timezone)
$this->timezone = $timezone;
}

public function getPassword(): ?string
/**
* @todo: Remove this method when support for "symfony/security" < 6.0 is dropped.
*
* @return null
*/
public function getPassword()
{
return null;
}

public function getSalt(): ?string
/**
* @todo: Remove this method when support for "symfony/security" < 6.0 is dropped.
*
* @return null
*/
public function getSalt()
{
return null;
}
Expand Down

0 comments on commit a8a8d16

Please sign in to comment.