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