Skip to content

Commit e0c53d7

Browse files
committed
Run Rector
1 parent dbdafb1 commit e0c53d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Authentication/Passwords/NothingPersonalValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected function isNotPersonal(string $password, ?User $user): bool
7979
if (! empty($domain)) {
8080
$emailParts[] = $domain;
8181
}
82-
$needles = array_merge($needles, $emailParts);
82+
$needles = [...$needles, ...$emailParts];
8383

8484
// Get any other "personal" fields defined in config
8585
$personalFields = $this->config->personalFields;

0 commit comments

Comments
 (0)