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 Keyable |
||
12 | { |
||
13 | /** |
||
14 | * Get the key of an item in the collection given a numeric index, default index is 0. |
||
15 | * |
||
16 | * @see https://loophp-collection.readthedocs.io/en/stable/pages/api.html#key |
||
17 | * |
||
18 | * @return TKey|null |
||
0 ignored issues
–
show
|
|||
19 | */ |
||
20 | public function key(int $index = 0); |
||
21 | } |
||
22 |
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