| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | 1 | public function __invoke(InputInterface $input, OutputInterface $output) |
|
| 27 | { |
||
| 28 | 1 | $execute = \Closure::bind( |
|
| 29 | 1 | function (InputInterface $input, OutputInterface $output) { |
|
| 30 | 1 | return $this->execute($input, $output); |
|
|
|
|||
| 31 | 1 | }, |
|
| 32 | 1 | $this->command, |
|
| 33 | 1 | get_class($this->command) |
|
| 34 | ); |
||
| 35 | |||
| 36 | 1 | return $execute($input, $output); |
|
| 37 | } |
||
| 38 | } |
||
| 39 |
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.