Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class I extends Combinator |
||
15 | { |
||
16 | /** |
||
17 | * @var mixed |
||
18 | */ |
||
19 | private $x; |
||
20 | |||
21 | /** |
||
22 | * I constructor. |
||
23 | * |
||
24 | 1 | * @psalm-param AType $x |
|
25 | * |
||
26 | 1 | * @param mixed $x |
|
27 | 1 | */ |
|
28 | public function __construct($x) |
||
29 | { |
||
30 | $this->x = $x; |
||
31 | } |
||
32 | 1 | ||
33 | /** |
||
34 | 1 | * @psalm-return AType |
|
35 | */ |
||
36 | public function __invoke() |
||
39 | } |
||
40 | 1 | ||
41 | /** |
||
42 | * @param callable $a |
||
43 | 1 | * |
|
44 | 1 | * @return mixed |
|
45 | */ |
||
46 | public static function on($a) |
||
51 |