Skip to content

Commit 86102cc

Browse files
committed
Fix style issue
1 parent 817b3ca commit 86102cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Http/Controllers/TwoFactorController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function verifyYubikey($data, Collection $twoFactors, $user): bool
7676
// Get the first 12 characters of the code
7777
$identifier = strtolower(substr($data['code'], 0, 12));
7878
// Find the identifier in $collection
79-
$twoFactor = $twoFactors->firstWhere(fn($factor) => strtolower($factor->identifier) === $identifier);
79+
$twoFactor = $twoFactors->firstWhere(fn ($factor) => strtolower($factor->identifier) === $identifier);
8080
if ($twoFactor === null) {
8181
throw ValidationException::withMessages(['code' => 'This Yubikey is not known.']);
8282
}

0 commit comments

Comments
 (0)