1 | <?php |
||
14 | class CompareCommand extends BaseCommand |
||
15 | { |
||
16 | /** |
||
17 | * Configure the compare command |
||
18 | * |
||
19 | * @return void |
||
20 | */ |
||
21 | protected function configure() |
||
31 | |||
32 | /** |
||
33 | * @param InputInterface $input |
||
34 | * @param OutputInterface $output |
||
35 | * @return void |
||
36 | */ |
||
37 | protected function execute(InputInterface $input, OutputInterface $output) |
||
42 | |||
43 | } |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.