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/Either/Implementation.php (1 issue)

Labels
Severity
1
<?php
2
declare(strict_types = 1);
3
4
namespace Innmind\Immutable\Either;
5
6
use Innmind\Immutable\{
7
    Either,
8
    Maybe,
9
};
10
11
/**
12
 * @template L
13
 * @template R
14
 * @psalm-immutable
15
 * @internal
16
 */
17
interface Implementation
18
{
19
    /**
20
     * @template T
21
     *
22
     * @param callable(R): T $map
23
     *
24
     * @return self<L, T>
25
     */
26
    public function map(callable $map): self;
27
28
    /**
29
     * @template A
30
     * @template B
31
     *
32
     * @param callable(R): Either<A, B> $map
33
     *
34
     * @return Either<L|A, B>
35
     */
36
    public function flatMap(callable $map): Either;
37
38
    /**
39
     * @template T
40
     *
41
     * @param callable(L): T $map
42
     *
43
     * @return self<T, R>
44
     */
45
    public function leftMap(callable $map): self;
46
47
    /**
48
     * @template T
49
     *
50
     * @param callable(R): T $right
51
     * @param callable(L): T $left
52
     *
53
     * @return T
0 ignored issues
show
The type Innmind\Immutable\Either\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...
54
     */
55
    public function match(callable $right, callable $left);
56
57
    /**
58
     * @template A
59
     * @template B
60
     *
61
     * @param callable(L): Either<A, B> $otherwise
62
     *
63
     * @return Either<A, R|B>
64
     */
65
    public function otherwise(callable $otherwise): Either;
66
67
    /**
68
     * @template A
69
     *
70
     * @param callable(R): bool $predicate
71
     * @param callable(): A $otherwise
72
     *
73
     * @return self<L|A, R>
74
     */
75
    public function filter(callable $predicate, callable $otherwise): self;
76
77
    /**
78
     * @return Maybe<R>
79
     */
80
    public function maybe(): Maybe;
81
}
82