@@ -978,25 +978,25 @@ discard block |
||
978 | 978 | { |
979 | 979 | if ($recursive === true) { |
980 | 980 | return \count( |
981 | - \array_intersect($needles, $this->keys(true)->getArray()), |
|
982 | - \COUNT_RECURSIVE |
|
983 | - ) |
|
984 | - === |
|
985 | - \count( |
|
986 | - $needles, |
|
987 | - \COUNT_RECURSIVE |
|
988 | - ); |
|
981 | + \array_intersect($needles, $this->keys(true)->getArray()), |
|
982 | + \COUNT_RECURSIVE |
|
983 | + ) |
|
984 | + === |
|
985 | + \count( |
|
986 | + $needles, |
|
987 | + \COUNT_RECURSIVE |
|
988 | + ); |
|
989 | 989 | } |
990 | 990 | |
991 | 991 | return \count( |
992 | - \array_intersect($needles, $this->keys()->getArray()), |
|
993 | - \COUNT_NORMAL |
|
994 | - ) |
|
995 | - === |
|
996 | - \count( |
|
997 | - $needles, |
|
998 | - \COUNT_NORMAL |
|
999 | - ); |
|
992 | + \array_intersect($needles, $this->keys()->getArray()), |
|
993 | + \COUNT_NORMAL |
|
994 | + ) |
|
995 | + === |
|
996 | + \count( |
|
997 | + $needles, |
|
998 | + \COUNT_NORMAL |
|
999 | + ); |
|
1000 | 1000 | } |
1001 | 1001 | |
1002 | 1002 | /** |
@@ -1049,8 +1049,8 @@ discard block |
||
1049 | 1049 | public function containsValues(array $needles): bool |
1050 | 1050 | { |
1051 | 1051 | return \count(\array_intersect($needles, $this->array), \COUNT_NORMAL) |
1052 | - === |
|
1053 | - \count($needles, \COUNT_NORMAL); |
|
1052 | + === |
|
1053 | + \count($needles, \COUNT_NORMAL); |
|
1054 | 1054 | } |
1055 | 1055 | |
1056 | 1056 | /** |
@@ -2400,15 +2400,15 @@ discard block |
||
2400 | 2400 | |
2401 | 2401 | if ($recursive === true) { |
2402 | 2402 | return $this->array_keys_recursive($this->array) |
2403 | - === |
|
2404 | - \range(0, \count($this->array, \COUNT_RECURSIVE) - 1); |
|
2403 | + === |
|
2404 | + \range(0, \count($this->array, \COUNT_RECURSIVE) - 1); |
|
2405 | 2405 | } |
2406 | 2406 | |
2407 | 2407 | // non recursive |
2408 | 2408 | |
2409 | 2409 | return \array_keys($this->array) |
2410 | - === |
|
2411 | - \range(0, \count($this->array, \COUNT_NORMAL) - 1); |
|
2410 | + === |
|
2411 | + \range(0, \count($this->array, \COUNT_NORMAL) - 1); |
|
2412 | 2412 | } |
2413 | 2413 | |
2414 | 2414 | /** |