@@ -9,9 +9,8 @@ |
||
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 | { |
@@ -9,9 +9,8 @@ |
||
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 | { |
@@ -9,12 +9,8 @@ |
||
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 | { |
@@ -10,11 +10,8 @@ |
||
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 | { |
@@ -9,10 +9,8 @@ |
||
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 | { |
@@ -9,9 +9,8 @@ |
||
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 | { |
@@ -9,7 +9,7 @@ |
||
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 | { |
@@ -8,9 +8,8 @@ |
||
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 | { |
@@ -9,9 +9,8 @@ |
||
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 | { |