Skip to content

Commit

Permalink
converts to data type string
Browse files Browse the repository at this point in the history
  • Loading branch information
warcooft authored Aug 26, 2024
1 parent 918051a commit 8fa6aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Authentication/Passwords/NothingPersonalValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protected function isNotPersonal(string $password, ?User $user): bool

foreach ($personalFields as $value) {
if (! empty($user->{$value})) {
$needles[] = strtolower($user->{$value});
$needles[] = strtolower((string) $user->{$value});
}
}

Expand Down

0 comments on commit 8fa6aab

Please sign in to comment.