| Total Complexity | 1 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | trait Reducing |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @see Reducible::reduce() |
||
| 23 | * @param Closure $function |
||
| 24 | * @param mixed $initial |
||
| 25 | * @return mixed |
||
| 26 | */ |
||
| 27 | public function reduce(Closure $function, $initial = null) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** @see Collection::items() */ |
||
| 33 | abstract public function items(): array; |
||
| 34 | } |
||
| 35 |