@@ -960,25 +960,25 @@ discard block |
||
960 | 960 | { |
961 | 961 | if ($recursive === true) { |
962 | 962 | return \count( |
963 | - \array_intersect($needles, $this->keys(true)->getArray()), |
|
964 | - COUNT_RECURSIVE |
|
965 | - ) |
|
966 | - === |
|
967 | - \count( |
|
968 | - $needles, |
|
969 | - COUNT_RECURSIVE |
|
970 | - ); |
|
963 | + \array_intersect($needles, $this->keys(true)->getArray()), |
|
964 | + COUNT_RECURSIVE |
|
965 | + ) |
|
966 | + === |
|
967 | + \count( |
|
968 | + $needles, |
|
969 | + COUNT_RECURSIVE |
|
970 | + ); |
|
971 | 971 | } |
972 | 972 | |
973 | 973 | return \count( |
974 | - \array_intersect($needles, $this->keys()->getArray()), |
|
975 | - COUNT_NORMAL |
|
976 | - ) |
|
977 | - === |
|
978 | - \count( |
|
979 | - $needles, |
|
980 | - COUNT_NORMAL |
|
981 | - ); |
|
974 | + \array_intersect($needles, $this->keys()->getArray()), |
|
975 | + COUNT_NORMAL |
|
976 | + ) |
|
977 | + === |
|
978 | + \count( |
|
979 | + $needles, |
|
980 | + COUNT_NORMAL |
|
981 | + ); |
|
982 | 982 | } |
983 | 983 | |
984 | 984 | /** |
@@ -1031,8 +1031,8 @@ discard block |
||
1031 | 1031 | public function containsValues(array $needles): bool |
1032 | 1032 | { |
1033 | 1033 | return \count(\array_intersect($needles, $this->array), COUNT_NORMAL) |
1034 | - === |
|
1035 | - \count($needles, COUNT_NORMAL); |
|
1034 | + === |
|
1035 | + \count($needles, COUNT_NORMAL); |
|
1036 | 1036 | } |
1037 | 1037 | |
1038 | 1038 | /** |
@@ -2379,15 +2379,15 @@ discard block |
||
2379 | 2379 | |
2380 | 2380 | if ($recursive === true) { |
2381 | 2381 | return $this->array_keys_recursive($this->array) |
2382 | - === |
|
2383 | - \range(0, \count($this->array, COUNT_RECURSIVE) - 1); |
|
2382 | + === |
|
2383 | + \range(0, \count($this->array, COUNT_RECURSIVE) - 1); |
|
2384 | 2384 | } |
2385 | 2385 | |
2386 | 2386 | // non recursive |
2387 | 2387 | |
2388 | 2388 | return \array_keys($this->array) |
2389 | - === |
|
2390 | - \range(0, \count($this->array, COUNT_NORMAL) - 1); |
|
2389 | + === |
|
2390 | + \range(0, \count($this->array, COUNT_NORMAL) - 1); |
|
2391 | 2391 | } |
2392 | 2392 | |
2393 | 2393 | /** |