Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | public function __invoke(): Closure |
||
21 | { |
||
22 | return |
||
23 | /** |
||
24 | * @psalm-suppress MissingClosureReturnType |
||
25 | * @psalm-suppress MissingClosureParamType |
||
26 | * @psalm-suppress MixedArgumentTypeCoercion |
||
27 | * @psalm-suppress ImpureMethodCall |
||
28 | 2 | * @psalm-suppress MixedFunctionCall |
|
29 | * @psalm-suppress MixedReturnStatement |
||
30 | 2 | * @psalm-suppress UnusedClosureParam |
|
31 | */ |
||
32 | 2 | static fn (callable $f): Closure => M::of()( |
|
33 | 2 | static fn (callable $loop): Closure => $f( |
|
34 | static fn (...$arguments): mixed => M::of()($loop)(...$arguments) |
||
35 | 2 | ) |
|
39 |