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 | * @psalm-param AType $x |
||
25 | * |
||
26 | * @param mixed $x |
||
27 | */ |
||
28 | 1 | public function __construct($x) |
|
29 | { |
||
30 | 1 | $this->x = $x; |
|
31 | 1 | } |
|
32 | |||
33 | /** |
||
34 | * @psalm-return AType |
||
35 | */ |
||
36 | 1 | public function __invoke() |
|
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param callable $a |
||
43 | * |
||
44 | * @return mixed |
||
45 | */ |
||
46 | 1 | public static function on($a) |
|
49 | } |
||
50 | } |
||
51 |