@@ -850,25 +850,25 @@ discard block |
||
850 | 850 | { |
851 | 851 | if ($recursive === true) { |
852 | 852 | return \count( |
853 | - \array_intersect($needles, $this->keys(true)->getArray()), |
|
854 | - COUNT_RECURSIVE |
|
855 | - ) |
|
856 | - === |
|
857 | - \count( |
|
858 | - $needles, |
|
859 | - COUNT_RECURSIVE |
|
860 | - ); |
|
853 | + \array_intersect($needles, $this->keys(true)->getArray()), |
|
854 | + COUNT_RECURSIVE |
|
855 | + ) |
|
856 | + === |
|
857 | + \count( |
|
858 | + $needles, |
|
859 | + COUNT_RECURSIVE |
|
860 | + ); |
|
861 | 861 | } |
862 | 862 | |
863 | 863 | return \count( |
864 | - \array_intersect($needles, $this->keys()->getArray()), |
|
865 | - COUNT_NORMAL |
|
866 | - ) |
|
867 | - === |
|
868 | - \count( |
|
869 | - $needles, |
|
870 | - COUNT_NORMAL |
|
871 | - ); |
|
864 | + \array_intersect($needles, $this->keys()->getArray()), |
|
865 | + COUNT_NORMAL |
|
866 | + ) |
|
867 | + === |
|
868 | + \count( |
|
869 | + $needles, |
|
870 | + COUNT_NORMAL |
|
871 | + ); |
|
872 | 872 | } |
873 | 873 | |
874 | 874 | /** |
@@ -921,8 +921,8 @@ discard block |
||
921 | 921 | public function containsValues(array $needles): bool |
922 | 922 | { |
923 | 923 | return \count(\array_intersect($needles, $this->array), COUNT_NORMAL) |
924 | - === |
|
925 | - \count($needles, COUNT_NORMAL); |
|
924 | + === |
|
925 | + \count($needles, COUNT_NORMAL); |
|
926 | 926 | } |
927 | 927 | |
928 | 928 | /** |
@@ -2179,15 +2179,15 @@ discard block |
||
2179 | 2179 | |
2180 | 2180 | if ($recursive === true) { |
2181 | 2181 | return $this->array_keys_recursive($this->array) |
2182 | - === |
|
2183 | - \range(0, \count($this->array, COUNT_RECURSIVE) - 1); |
|
2182 | + === |
|
2183 | + \range(0, \count($this->array, COUNT_RECURSIVE) - 1); |
|
2184 | 2184 | } |
2185 | 2185 | |
2186 | 2186 | // non recursive |
2187 | 2187 | |
2188 | 2188 | return \array_keys($this->array) |
2189 | - === |
|
2190 | - \range(0, \count($this->array, COUNT_NORMAL) - 1); |
|
2189 | + === |
|
2190 | + \range(0, \count($this->array, COUNT_NORMAL) - 1); |
|
2191 | 2191 | } |
2192 | 2192 | |
2193 | 2193 | /** |