1 | <?php |
||
19 | class DocumentUrlGenerator extends ProviderBasedGenerator |
||
20 | { |
||
21 | /** |
||
22 | * @var array Route map configuration to map Elasticsearch types and Controllers. |
||
23 | */ |
||
24 | private $routeMap; |
||
25 | |||
26 | /** |
||
27 | * @var MetadataCollector |
||
28 | */ |
||
29 | private $collector; |
||
30 | |||
31 | /** |
||
32 | * @return mixed |
||
33 | */ |
||
34 | public function getRouteMap() |
||
38 | |||
39 | /** |
||
40 | * @param mixed $routeMap |
||
41 | */ |
||
42 | public function setRouteMap($routeMap) |
||
46 | |||
47 | /** |
||
48 | * @return MetadataCollector |
||
49 | */ |
||
50 | public function getCollector() |
||
54 | |||
55 | /** |
||
56 | * @param MetadataCollector $collector |
||
57 | */ |
||
58 | public function setCollector(MetadataCollector $collector) |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH) |
||
108 | } |
||
109 |
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..