Total Complexity | 2 |
Total Lines | 57 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | final class E extends Combinator |
||
16 | { |
||
17 | /** |
||
18 | * @var callable |
||
19 | */ |
||
20 | private $f; |
||
21 | |||
22 | /** |
||
23 | * @var callable |
||
24 | */ |
||
25 | private $g; |
||
26 | |||
27 | /** |
||
28 | * @var mixed |
||
29 | */ |
||
30 | private $x; |
||
31 | |||
32 | /** |
||
33 | * @var mixed |
||
34 | */ |
||
35 | private $y; |
||
36 | |||
37 | /** |
||
38 | * @var mixed |
||
39 | */ |
||
40 | private $z; |
||
41 | |||
42 | /** |
||
43 | * E constructor. |
||
44 | * |
||
45 | * @psalm-param callable(XType) : ResultType $f |
||
46 | * @psalm-param XType $x |
||
47 | * @psalm-param callable(XType) : ResultType $g |
||
48 | 1 | * @psalm-param XType $y |
|
49 | * @psalm-param XType $z |
||
50 | 1 | * |
|
51 | 1 | * @param callable $f |
|
52 | 1 | * @param mixed $x |
|
53 | 1 | * @param callable $g |
|
54 | 1 | * @param mixed $y |
|
55 | 1 | * @param mixed $z |
|
56 | */ |
||
57 | public function __construct(callable $f, $x, callable $g, $y, $z) |
||
64 | } |
||
65 | |||
66 | /** |
||
67 | * @psalm-return ResultType |
||
68 | 1 | */ |
|
69 | public function __invoke() |
||
74 |