| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function __invoke(InputInterface $input, OutputInterface $output): ?int |
||
| 33 | { |
||
| 34 | $execute = \Closure::bind( |
||
| 35 | function (InputInterface $input, OutputInterface $output) { |
||
| 36 | return $this->execute($input, $output); |
||
|
|
|||
| 37 | }, |
||
| 38 | $this->command, |
||
| 39 | get_class($this->command) |
||
| 40 | ); |
||
| 41 | |||
| 42 | return $execute($input, $output); |
||
| 43 | } |
||
| 44 | } |
||
| 45 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.