1 | <?php |
||
13 | class RecreateTriggersCommand extends AbstractIndexerCommand |
||
14 | { |
||
15 | /** |
||
16 | * @var \Magento\Indexer\Model\Config |
||
17 | */ |
||
18 | private $indexerCollection; |
||
19 | |||
20 | protected function configure() |
||
27 | |||
28 | /** |
||
29 | * @param \Magento\Indexer\Model\Config $indexerCollection |
||
|
|||
30 | */ |
||
31 | public function inject(\Magento\Indexer\Model\Indexer\Collection $indexerCollection) |
||
35 | |||
36 | /** |
||
37 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
38 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
39 | * @return int|void |
||
40 | */ |
||
41 | protected function execute(InputInterface $input, OutputInterface $output) |
||
64 | } |
||
65 |
This check looks for
@param
annotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.