GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Issues (201)

src/Pair.php (1 issue)

Labels
Severity
1
<?php
2
declare(strict_types = 1);
3
4
namespace Innmind\Immutable;
5
6
/**
7
 * Used to identify a key/value pair
8
 *
9
 * @template T
10
 * @template S
11
 * @psalm-immutable
12
 */
13
final class Pair
14
{
15
    /** @var T */
0 ignored issues
show
The type Innmind\Immutable\T 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...
16
    private $key;
17
    /** @var S */
18
    private $value;
19
20
    /**
21
     * @internal You should never have to manually create this object
22
     * @param T $key
23 40
     * @param S $value
24
     */
25 40
    public function __construct($key, $value)
26 40
    {
27 40
        $this->key = $key;
28
        $this->value = $value;
29
    }
30
31
    /**
32 20
     * @return T
33
     */
34 20
    public function key()
35
    {
36
        return $this->key;
37
    }
38
39
    /**
40 17
     * @return S
41
     */
42 17
    public function value()
43
    {
44
        return $this->value;
45
    }
46
}
47