Skip to content

Commit 4df33c4

Browse files
dereuromarkwww-data
authored andcommitted
Auto-fix CS - CS master branch
1 parent 8da282a commit 4df33c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Auth/AuthUserTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use ArrayAccess;
66
use Cake\Utility\Hash;
7+
use Countable;
78
use InvalidArgumentException;
89
use Traversable;
910

@@ -184,7 +185,7 @@ protected function _toArray(ArrayAccess|array $identity): array {
184185
if ($identity instanceof Traversable) {
185186
return iterator_to_array($identity);
186187
}
187-
if (!$identity instanceof \Countable) {
188+
if (!$identity instanceof Countable) {
188189
throw new InvalidArgumentException('You cannot use a pure ArrayAccess object as identity. Use Entity or ArrayObject at least.');
189190
}
190191

0 commit comments

Comments
 (0)