1 | <?php |
||
16 | class HydrateEvent extends AbstractMappingEvent |
||
17 | { |
||
18 | /** |
||
19 | * @param NodeInterface $node |
||
20 | * @param string $locale |
||
21 | * @param array $options |
||
22 | */ |
||
23 | public function __construct(NodeInterface $node, $locale, array $options = []) |
||
29 | |||
30 | /** |
||
31 | * @return object |
||
32 | * |
||
33 | * @throws \RuntimeException |
||
34 | */ |
||
35 | public function getDocument() |
||
46 | |||
47 | /** |
||
48 | * @param object $document |
||
49 | */ |
||
50 | public function setDocument($document) |
||
55 | |||
56 | /** |
||
57 | * @param string $locale |
||
58 | */ |
||
59 | public function setLocale($locale) |
||
63 | } |
||
64 |
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..