1 | <?php |
||
14 | class RunTestCommand extends Command |
||
15 | { |
||
16 | /** |
||
17 | * Configuration of command |
||
18 | */ |
||
19 | protected function configure() |
||
26 | |||
27 | /** |
||
28 | * Execute method of command |
||
29 | * |
||
30 | * @param InputInterface $input |
||
31 | * @param OutputInterface $output |
||
32 | * |
||
33 | * @return int|null|void |
||
34 | */ |
||
35 | protected function execute(InputInterface $input, OutputInterface $output) |
||
41 | } |
||
42 |
If a method or function can return multiple different values and unless you are sure that you only can receive a single value in this context, we recommend to add an additional type check:
If this a common case that PHP Analyzer should handle natively, please let us know by opening an issue.