| 1 | <?php |
||
| 12 | class MetadataContainer extends BaseMetadataContainer implements MetadataContainerInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var MetadataInterface |
||
| 16 | */ |
||
| 17 | protected $metadataAsObject; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function getMetadata() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function setMetadata(MetadataInterface $metadata) |
||
| 38 | |||
| 39 | public function serializeMetadata() |
||
| 43 | } |
||
| 44 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..