| 1 | <?php |
||
| 10 | class Invitation extends AbstractMapper |
||
| 11 | { |
||
| 12 | public function findByUser($user) |
||
| 16 | |||
| 17 | public function findByRequestKey($key) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $id |
||
|
|
|||
| 24 | * @return \Heineken\Entity\Invitation |
||
| 25 | */ |
||
| 26 | public function findByGame($game) |
||
| 30 | |||
| 31 | public function getEntityRepository() |
||
| 35 | } |
||
| 36 |
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.