@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @param int $case Either `CASE_UPPER` or `CASE_LOWER` (default). |
20 | 20 | * |
21 | - * @return Chain |
|
21 | + * @return ChangeKeyCase |
|
22 | 22 | */ |
23 | 23 | public function changeKeyCase($case = CASE_LOWER) |
24 | 24 | { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * will be converted to string. |
19 | 19 | * @param Chain|array $values Array or instance of `Cocur\Chain\Chain` of values to be used. |
20 | 20 | * |
21 | - * @return Chain |
|
21 | + * @return Combine |
|
22 | 22 | */ |
23 | 23 | public function combine($keys, $values) |
24 | 24 | { |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * @param Chain|array $array2 An array or instance of `Cocur\Chain\Chain` to compare against. |
22 | 22 | * |
23 | - * @return Chain |
|
23 | + * @return Diff |
|
24 | 24 | */ |
25 | 25 | public function diff($array2) |
26 | 26 | { |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * @param int $num Number of elements to insert. Must be greater than or equal to zero. |
24 | 24 | * @param mixed $value Value to use for filling. |
25 | 25 | * |
26 | - * @return Chain |
|
26 | + * @return Fill |
|
27 | 27 | */ |
28 | 28 | public static function fill($startIndex, $num, $value = null) |
29 | 29 | { |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * @param callable $callback The callback function to use. |
22 | 22 | * |
23 | - * @return Chain |
|
23 | + * @return Filter |
|
24 | 24 | */ |
25 | 25 | public function filter(callable $callback) |
26 | 26 | { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | trait Flip |
12 | 12 | { |
13 | 13 | /** |
14 | - * @return Chain |
|
14 | + * @return Flip |
|
15 | 15 | */ |
16 | 16 | public function flip() |
17 | 17 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * @param Chain|array $array2 |
17 | 17 | * |
18 | - * @return Chain |
|
18 | + * @return Intersect |
|
19 | 19 | */ |
20 | 20 | public function intersect($array2) |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * @param Chain|array $array |
17 | 17 | * |
18 | - * @return Chain |
|
18 | + * @return IntersectAssoc |
|
19 | 19 | */ |
20 | 20 | public function intersectAssoc($array) |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * @param Chain|array $array |
17 | 17 | * |
18 | - * @return Chain |
|
18 | + * @return IntersectKey |
|
19 | 19 | */ |
20 | 20 | public function intersectKey($array) |
21 | 21 | { |