@@ -955,25 +955,25 @@ discard block |
||
955 | 955 | { |
956 | 956 | if ($recursive === true) { |
957 | 957 | return \count( |
958 | - \array_intersect($needles, $this->keys(true)->getArray()), |
|
959 | - \COUNT_RECURSIVE |
|
960 | - ) |
|
961 | - === |
|
962 | - \count( |
|
963 | - $needles, |
|
964 | - \COUNT_RECURSIVE |
|
965 | - ); |
|
958 | + \array_intersect($needles, $this->keys(true)->getArray()), |
|
959 | + \COUNT_RECURSIVE |
|
960 | + ) |
|
961 | + === |
|
962 | + \count( |
|
963 | + $needles, |
|
964 | + \COUNT_RECURSIVE |
|
965 | + ); |
|
966 | 966 | } |
967 | 967 | |
968 | 968 | return \count( |
969 | - \array_intersect($needles, $this->keys()->getArray()), |
|
970 | - \COUNT_NORMAL |
|
971 | - ) |
|
972 | - === |
|
973 | - \count( |
|
974 | - $needles, |
|
975 | - \COUNT_NORMAL |
|
976 | - ); |
|
969 | + \array_intersect($needles, $this->keys()->getArray()), |
|
970 | + \COUNT_NORMAL |
|
971 | + ) |
|
972 | + === |
|
973 | + \count( |
|
974 | + $needles, |
|
975 | + \COUNT_NORMAL |
|
976 | + ); |
|
977 | 977 | } |
978 | 978 | |
979 | 979 | /** |
@@ -1028,8 +1028,8 @@ discard block |
||
1028 | 1028 | public function containsValues(array $needles): bool |
1029 | 1029 | { |
1030 | 1030 | return \count(\array_intersect($needles, $this->getArray()), \COUNT_NORMAL) |
1031 | - === |
|
1032 | - \count($needles, \COUNT_NORMAL); |
|
1031 | + === |
|
1032 | + \count($needles, \COUNT_NORMAL); |
|
1033 | 1033 | } |
1034 | 1034 | |
1035 | 1035 | /** |
@@ -2170,15 +2170,15 @@ discard block |
||
2170 | 2170 | |
2171 | 2171 | if ($recursive === true) { |
2172 | 2172 | return $this->array_keys_recursive($this->getArray()) |
2173 | - === |
|
2174 | - \range(0, \count($this->getArray(), \COUNT_RECURSIVE) - 1); |
|
2173 | + === |
|
2174 | + \range(0, \count($this->getArray(), \COUNT_RECURSIVE) - 1); |
|
2175 | 2175 | } |
2176 | 2176 | |
2177 | 2177 | // non recursive |
2178 | 2178 | |
2179 | 2179 | return \array_keys($this->getArray()) |
2180 | - === |
|
2181 | - \range(0, \count($this->getArray(), \COUNT_NORMAL) - 1); |
|
2180 | + === |
|
2181 | + \range(0, \count($this->getArray(), \COUNT_NORMAL) - 1); |
|
2182 | 2182 | } |
2183 | 2183 | |
2184 | 2184 | /** |