@@ -178,12 +178,12 @@ discard block |
||
| 178 | 178 | public function reduce(callable $callback, $accumulator = null); |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * Take a slice of the array |
|
| 182 | - * |
|
| 183 | - * @param int $begin Start index of slice |
|
| 184 | - * @param int $end End index of slice |
|
| 185 | - * @return self |
|
| 186 | - */ |
|
| 181 | + * Take a slice of the array |
|
| 182 | + * |
|
| 183 | + * @param int $begin Start index of slice |
|
| 184 | + * @param int $end End index of slice |
|
| 185 | + * @return self |
|
| 186 | + */ |
|
| 187 | 187 | public function slice(int $begin = 0, int $end = null): self; |
| 188 | 188 | |
| 189 | 189 | /** |
@@ -195,13 +195,13 @@ discard block |
||
| 195 | 195 | public function sort(callable $callback = null); |
| 196 | 196 | |
| 197 | 197 | /** |
| 198 | - * forEach, or "walk" the data |
|
| 199 | - * Exists primarily to provide a consistent interface, though it's seldom |
|
| 200 | - * any better than a simple php foreach. Mainly useful for chaining. |
|
| 201 | - * Named walk for historic reasons - forEach is reserved in PHP |
|
| 202 | - * |
|
| 203 | - * @param callable $callback Function to call on each element |
|
| 204 | - * @return self |
|
| 205 | - */ |
|
| 198 | + * forEach, or "walk" the data |
|
| 199 | + * Exists primarily to provide a consistent interface, though it's seldom |
|
| 200 | + * any better than a simple php foreach. Mainly useful for chaining. |
|
| 201 | + * Named walk for historic reasons - forEach is reserved in PHP |
|
| 202 | + * |
|
| 203 | + * @param callable $callback Function to call on each element |
|
| 204 | + * @return self |
|
| 205 | + */ |
|
| 206 | 206 | public function walk(callable $callback): self; |
| 207 | 207 | } |