Completed
Push — master ( 70e886...cfba1b )
by Lars
02:04
created
src/Arrayy.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2893,7 +2893,7 @@  discard block
 block discarded – undo
2893 2893
     /**
2894 2894
      * Reduce the current array via callable e.g. anonymous-function.
2895 2895
      *
2896
-     * @param \callable $callable
2896
+     * @param \Closure $callable
2897 2897
      * @param array     $init
2898 2898
      *
2899 2899
      * @return static
@@ -3777,7 +3777,7 @@  discard block
 block discarded – undo
3777 3777
     /**
3778 3778
      * Apply the given function to every element in the array, discarding the results.
3779 3779
      *
3780
-     * @param \callable $callable
3780
+     * @param \Closure $callable
3781 3781
      * @param bool      $recursive <p>Whether array will be walked recursively or no</p>
3782 3782
      *
3783 3783
      * @return static
@@ -3875,8 +3875,8 @@  discard block
 block discarded – undo
3875 3875
     }
3876 3876
 
3877 3877
     /**
3878
-     * @param mixed      $path
3879
-     * @param \callable  $callable
3878
+     * @param string      $path
3879
+     * @param \Closure  $callable
3880 3880
      * @param array|null $currentOffset
3881 3881
      */
3882 3882
     protected function callAtPath($path, $callable, &$currentOffset = null)
@@ -4026,7 +4026,7 @@  discard block
 block discarded – undo
4026 4026
     }
4027 4027
 
4028 4028
     /**
4029
-     * @param mixed               $glue
4029
+     * @param string               $glue
4030 4030
      * @param array|static|string $pieces
4031 4031
      * @param bool                $useKeys
4032 4032
      *
Please login to merge, or discard this patch.
src/Collection/AbstractCollection.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -50,6 +50,7 @@
 block discarded – undo
50 50
      * Merge current items and items of given collections into a new one.
51 51
      *
52 52
      * @param CollectionInterface ...$collections The collections to merge.
53
+     * @param CollectionInterface[] $collections
53 54
      *
54 55
      * @throws \InvalidArgumentException if any of the given collections are not of the same type
55 56
      *
Please login to merge, or discard this patch.