| 1 | <?php |
||
| 12 | class InputColumn extends AbstractColumn |
||
| 13 | { |
||
| 14 | |||
| 15 | /** @var string */ |
||
| 16 | protected $entryName; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * TextColumn constructor. |
||
| 20 | * |
||
| 21 | * @param string $key |
||
| 22 | * @param string $name |
||
| 23 | * @param float $widthCoeficiency |
||
| 24 | * @param boolean $sortable |
||
|
|
|||
| 25 | * @param boolean $translatable |
||
| 26 | */ |
||
| 27 | public function __construct($key, $name, $widthCoeficiency) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getEntryName(): string |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $entryName |
||
| 42 | */ |
||
| 43 | public function setEntryName(string $entryName) |
||
| 47 | |||
| 48 | } |
||
| 49 |
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
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.