| 1 | <?php |
||
| 20 | class RemapCommand extends BaseCommand |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Configure this command |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | protected function configure() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param InputInterface $input |
||
| 50 | * @param OutputInterface $output |
||
| 51 | * |
||
| 52 | * @return void |
||
| 53 | */ |
||
| 54 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 69 | |||
| 70 | } |
||
| 71 |
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.