| 1 | <?php declare (strict_types=1); |
||
| 18 | class DeleteQueryBuilder extends QueryBuilder |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var \EmmetBlue\Core\Builder\QueryBuilder |
||
| 22 | */ |
||
| 23 | protected $queryBuilder; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string|null $tableName |
||
|
|
|||
| 27 | */ |
||
| 28 | public function __construct() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | * |
||
| 37 | * @param string $tableName |
||
| 38 | * |
||
| 39 | * @return \EmmetBlue\Core\Builder\DeleteQueryBuilder |
||
| 40 | */ |
||
| 41 | public function from(string $tableName) |
||
| 47 | } |
||
| 48 |
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.