Completed
Push — master ( c9ba72...e08a43 )
by Lars
03:40
created
src/Arrayy.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -772,8 +772,8 @@  discard block
 block discarded – undo
772 772
     }
773 773
 
774 774
     /**
775
-     * @param mixed      $path
776
-     * @param \callable  $callable
775
+     * @param string      $path
776
+     * @param \Closure  $callable
777 777
      * @param array|null $currentOffset
778 778
      */
779 779
     protected function callAtPath($path, $callable, &$currentOffset = null)
@@ -2038,7 +2038,7 @@  discard block
 block discarded – undo
2038 2038
     }
2039 2039
 
2040 2040
     /**
2041
-     * @param mixed               $glue
2041
+     * @param string               $glue
2042 2042
      * @param array|static|string $pieces
2043 2043
      * @param bool                $useKeys
2044 2044
      *
@@ -3962,7 +3962,7 @@  discard block
 block discarded – undo
3962 3962
     /**
3963 3963
      * Apply the given function to every element in the array, discarding the results.
3964 3964
      *
3965
-     * @param \callable $callable
3965
+     * @param \Closure $callable
3966 3966
      * @param bool      $recursive <p>Whether array will be walked recursively or no</p>
3967 3967
      *
3968 3968
      * @return static <p>(Mutable) Return this Arrayy object, with modified elements.</p>
Please login to merge, or discard this patch.
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -978,25 +978,25 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.