| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | 1 | public function __invoke() |
|
| 38 | { |
||
| 39 | 1 | $callable = $this->f; |
|
| 40 | 1 | ||
| 41 | $f = static function (callable $f) use ($callable): Closure { |
||
| 42 | 1 | return $callable( |
|
| 43 | static function (...$arguments) use ($f) { |
||
| 44 | 1 | return M::with()($f)(...$arguments); |
|
| 45 | } |
||
| 46 | ); |
||
| 47 | }; |
||
| 48 | |||
| 49 | return M::with()($f); |
||
| 50 | 1 | } |
|
| 62 |