Completed
Pull Request — master (#156)
by Lucas
02:51
created
src/Macros/Prioritize.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,8 @@
 block discarded – undo
9 9
     /**
10 10
      * Move elements to the start of the collection.
11 11
      *
12
-     * @param  callable  $callable
13 12
      *
14
-     * @return \Illuminate\Support\Collection
13
+     * @return \Closure
15 14
      */
16 15
     public function prioritize()
17 16
     {
Please login to merge, or discard this patch.
src/Macros/Rotate.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,8 @@
 block discarded – undo
9 9
     /**
10 10
      * Rotate the items in the collection with given offset
11 11
      *
12
-     * @param int $offset
13 12
      *
14
-     * @return \Illuminate\Support\Collection
13
+     * @return \Closure
15 14
      */
16 15
     public function rotate()
17 16
     {
Please login to merge, or discard this patch.
src/Macros/SectionBy.php 1 patch
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,12 +9,8 @@
 block discarded – undo
9 9
     /**
10 10
      * Splits a collection into sections grouped by a given key.
11 11
      *
12
-     * @param mixed $key
13
-     * @param bool $preserveKeys
14
-     * @param mixed $sectionKey
15
-     * @param mixed $itemsKey
16 12
      *
17
-     * @return \Illuminate\Support\Collection
13
+     * @return \Closure
18 14
      */
19 15
     public function sectionBy()
20 16
     {
Please login to merge, or discard this patch.
src/Macros/SimplePaginate.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,11 +10,8 @@
 block discarded – undo
10 10
     /**
11 11
      * Paginate the collection into a simple paginator
12 12
      *
13
-     * @param int $perPage
14
-     * @param int $page
15
-     * @param string $pageName
16 13
      *
17
-     * @return \Illuminate\Contracts\Pagination\Paginator
14
+     * @return \Closure
18 15
      */
19 16
     public function simplePaginate()
20 17
     {
Please login to merge, or discard this patch.
src/Macros/SliceBefore.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,10 +9,8 @@
 block discarded – undo
9 9
     /**
10 10
      * Slice a collection before a given callback is met into separate chunks
11 11
      *
12
-     * @param callable $callback
13
-     * @param bool $preserveKeys
14 12
      *
15
-     * @return \Illuminate\Support\Collection
13
+     * @return \Closure
16 14
      */
17 15
     public function sliceBefore()
18 16
     {
Please login to merge, or discard this patch.
src/Macros/Tail.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,8 @@
 block discarded – undo
9 9
     /**
10 10
      * Get the tail of a collection, everything except the first item.
11 11
      *
12
-     * @param bool $preserveKeys
13 12
      *
14
-     * @return \Illuminate\Support\Collection
13
+     * @return \Closure
15 14
      */
16 15
     public function tail()
17 16
     {
Please login to merge, or discard this patch.
src/Macros/ToPairs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * Transform a collection into an an array with pairs.
11 11
      *
12
-     * @return \Illuminate\Support\Collection
12
+     * @return \Closure
13 13
      */
14 14
     public function toPairs()
15 15
     {
Please login to merge, or discard this patch.
src/Macros/Validate.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,8 @@
 block discarded – undo
8 8
      * Returns true if $callback returns true for every item. If $callback
9 9
      * is a string or an array, regard it as a validation rule.
10 10
      *
11
-     * @param string|callable $callback
12 11
      *
13
-     * @return bool
12
+     * @return \Closure
14 13
      */
15 14
     public function validate()
16 15
     {
Please login to merge, or discard this patch.
src/Macros/WithSize.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,8 @@
 block discarded – undo
9 9
     /**
10 10
      * Create a new collection with the specified amount of items
11 11
      *
12
-     * @param int $size
13 12
      *
14
-     * @return \Illuminate\Support\Collection
13
+     * @return \Closure
15 14
      */
16 15
     public function withSize()
17 16
     {
Please login to merge, or discard this patch.