@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * |
| 26 | 26 | * @param callable|null $callback |
| 27 | 27 | * @param null $default |
| 28 | - * @return mixed|Collection |
|
| 28 | + * @return Collection |
|
| 29 | 29 | */ |
| 30 | 30 | public function first(callable $callback = null, $default = null) |
| 31 | 31 | { |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Get and remove the last item from the collection. |
| 37 | 37 | * |
| 38 | - * @return mixed |
|
| 38 | + * @return Collection |
|
| 39 | 39 | */ |
| 40 | 40 | public function pop() |
| 41 | 41 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | /** |
| 58 | 58 | * Get and remove the first item from the collection. |
| 59 | 59 | * |
| 60 | - * @return mixed |
|
| 60 | + * @return Collection |
|
| 61 | 61 | */ |
| 62 | 62 | public function shift() |
| 63 | 63 | { |
@@ -117,6 +117,9 @@ discard block |
||
| 117 | 117 | return parent::__call($name, $arguments); |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | + /** |
|
| 121 | + * @param string $key |
|
| 122 | + */ |
|
| 120 | 123 | public function where($key, $operator, $value = null) |
| 121 | 124 | { |
| 122 | 125 | if (func_num_args() == 2) { |