1 | <?php |
||
17 | class ConfigManager implements ManagerInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var IndexConfig[] |
||
21 | */ |
||
22 | private $indexes = array(); |
||
23 | |||
24 | /** |
||
25 | * @var IndexTemplateConfig[] |
||
26 | */ |
||
27 | private $indexTemplates = array(); |
||
28 | |||
29 | /** |
||
30 | * @param Source\SourceInterface[] $indexSources |
||
31 | * @param Source\SourceInterface[] $indexTemplateSources |
||
32 | */ |
||
33 | public function __construct(array $indexSources, array $indexTemplateSources) |
||
42 | |||
43 | public function getIndexConfiguration($indexName) |
||
51 | |||
52 | /** |
||
53 | * @param string $indexTemplateName |
||
54 | * |
||
55 | * @return IndexTemplateConfig |
||
56 | */ |
||
57 | public function getIndexTemplateConfiguration($indexTemplateName) |
||
65 | |||
66 | public function getIndexNames() |
||
70 | |||
71 | public function getIndexTemplatesNames() |
||
75 | |||
76 | public function getTypeConfiguration($indexName, $typeName) |
||
87 | |||
88 | public function hasIndexConfiguration($indexName) |
||
92 | |||
93 | public function hasIndexTemplateConfiguration($indexTemplateName) |
||
97 | } |
||
98 |
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..