@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | /** |
165 | 165 | * Return the key of the current element. |
166 | 166 | * |
167 | - * @return mixed|null |
|
167 | + * @return integer |
|
168 | 168 | */ |
169 | 169 | public function key() |
170 | 170 | { |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | * Fold (reduce) sequence into a single value. |
377 | 377 | * |
378 | 378 | * @param callable $funk A callback function |
379 | - * @param mixed $initial Initial value for accumulator |
|
379 | + * @param boolean $initial Initial value for accumulator |
|
380 | 380 | * |
381 | 381 | * @return mixed |
382 | 382 | */ |
@@ -183,6 +183,9 @@ |
||
183 | 183 | return [$data]; |
184 | 184 | } |
185 | 185 | |
186 | +/** |
|
187 | + * @param integer $count |
|
188 | + */ |
|
186 | 189 | function get_range_start_end($range, $count) |
187 | 190 | { |
188 | 191 | if (Str::contains($range, Sequence::SLICE_DELIM)) { |