1 | <?php |
||
20 | abstract class BaseCommand extends Command |
||
21 | { |
||
22 | const COMMAND_PREFIX = 'music-info'; |
||
23 | |||
24 | const COMMAND_NAME = 'undefined'; |
||
25 | |||
26 | const COMMAND_DESCRIPTION = 'Description not set'; |
||
27 | |||
28 | /** |
||
29 | * @var MusicInfo |
||
30 | */ |
||
31 | protected $musicInfo; |
||
32 | |||
33 | protected function initializeMusicInfo() |
||
39 | |||
40 | protected function configure() |
||
52 | |||
53 | /** |
||
54 | * @param $collection |
||
55 | * @param $columns |
||
56 | * @param Table $table |
||
57 | * @return Table |
||
58 | */ |
||
59 | protected function generateTableForSearchResult($collection, $columns, Table $table) |
||
69 | |||
70 | /** |
||
71 | * @param $collection |
||
72 | * @param $columns |
||
73 | * @param OutputInterface $output |
||
|
|||
74 | * @return Table |
||
75 | * @throws \Exception |
||
76 | */ |
||
77 | protected function generateTableRows($collection, $columns, Table $table) |
||
91 | } |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.