@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * |
21 | 21 | * @param callable|null $callback |
22 | 22 | * @param null $default |
23 | - * @return mixed|Collection |
|
23 | + * @return Collection |
|
24 | 24 | */ |
25 | 25 | public function first(callable $callback = null, $default = null) |
26 | 26 | { |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * Get and remove the last item from the collection. |
32 | 32 | * |
33 | - * @return mixed |
|
33 | + * @return Collection |
|
34 | 34 | */ |
35 | 35 | public function pop() |
36 | 36 | { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * Get and remove the first item from the collection. |
54 | 54 | * |
55 | - * @return mixed |
|
55 | + * @return Collection |
|
56 | 56 | */ |
57 | 57 | public function shift() |
58 | 58 | { |