| 1 | <?php |
||
| 9 | final class FieldDenormalizer implements FieldDenormalizerInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var AccessorInterface |
||
| 13 | */ |
||
| 14 | private $accessor; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param AccessorInterface $accessor |
||
| 18 | * @param array $groups |
||
|
|
|||
| 19 | */ |
||
| 20 | 4 | public function __construct(AccessorInterface $accessor) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $path |
||
| 27 | * @param object $object |
||
| 28 | * @param mixed $value |
||
| 29 | * @param DenormalizerInterface|null $denormalizer |
||
| 30 | * @param DenormalizerContextInterface|null $context |
||
| 31 | */ |
||
| 32 | 4 | public function denormalizeField( |
|
| 41 | } |
||
| 42 |
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.