@@ -23,7 +23,7 @@ |
||
23 | 23 | */ |
24 | 24 | class CollectionCheck implements FluentCheck |
25 | 25 | { |
26 | - use TypeCheck,ConstraintCheck, WithMessage; |
|
26 | + use TypeCheck, ConstraintCheck, WithMessage; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @var iterable |
@@ -8,7 +8,7 @@ |
||
8 | 8 | public static function isAssociative(array $array): bool |
9 | 9 | { |
10 | 10 | $size = \count($array); |
11 | - $filteredKeys = \array_filter(\array_keys($array), function($int) {return $int === (int) $int;}); |
|
11 | + $filteredKeys = \array_filter(\array_keys($array), function($int) {return $int === (int) $int; }); |
|
12 | 12 | return \count($filteredKeys) !== $size; |
13 | 13 | } |
14 | 14 |