Issues (85)

src/Contract/Operation/Diffkeysable.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace loophp\collection\Contract\Operation;
6
7
use loophp\collection\Contract\Collection;
8
9
/**
10
 * @template TKey
11
 * @template T
12
 */
13
interface Diffkeysable
14
{
15
    /**
16
     * Compares the collection against another collection, iterable, or set of multiple keys.
17
     * This method will return the key / value pairs in the original collection that are not
18
     * present in the given argument set.
19
     *
20
     * @see https://loophp-collection.readthedocs.io/en/stable/pages/api.html#diffkeys
21
     *
22
     * @param TKey ...$keys
0 ignored issues
show
The type loophp\collection\Contract\Operation\TKey was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
23
     *
24
     * @return Collection<TKey, T>
25
     */
26
    public function diffKeys(mixed ...$keys): Collection;
27
}
28