Skip to content

Commit b6f4853

Browse files
committed
Leverage array_is_list(), get_debug_type(), is_countable(), is_iterable(), str_contains() and str_starts_with()
1 parent 894e699 commit b6f4853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authentication/AuthenticatorManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function supports(Request $request): ?bool
9191
if (null !== $this->logger) {
9292
$context = ['firewall_name' => $this->firewallName];
9393

94-
if ($this->authenticators instanceof \Countable || \is_array($this->authenticators)) {
94+
if (is_countable($this->authenticators)) {
9595
$context['authenticators'] = \count($this->authenticators);
9696
}
9797

0 commit comments

Comments
 (0)