loophp /
collection
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace loophp\collection\Contract\Operation; |
||
| 6 | |||
| 7 | /** |
||
| 8 | * @template TKey |
||
| 9 | * @template T |
||
| 10 | */ |
||
| 11 | interface FoldLeftable |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Takes the initial value and the first item of the list and applies the function to them, then feeds |
||
| 15 | * the function with this result and the second argument and so on. See `scanLeft` for intermediate results. |
||
| 16 | * |
||
| 17 | * @see https://loophp-collection.readthedocs.io/en/stable/pages/api.html#foldleft |
||
| 18 | * |
||
| 19 | * @template V |
||
| 20 | * |
||
| 21 | * @param callable(V, T, TKey, iterable<TKey, T>): V $callback |
||
| 22 | * @param V $initial |
||
|
0 ignored issues
–
show
|
|||
| 23 | * |
||
| 24 | * @return V |
||
| 25 | */ |
||
| 26 | public function foldLeft(callable $callback, mixed $initial); |
||
| 27 | } |
||
| 28 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths