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