1 | <?php |
||
30 | class ConfigurationService |
||
31 | { |
||
32 | /** |
||
33 | * @var FlexFormService |
||
34 | */ |
||
35 | protected $flexFormService; |
||
36 | |||
37 | /** |
||
38 | * @var TypoScriptService |
||
39 | */ |
||
40 | protected $typoScriptService; |
||
41 | |||
42 | public function __construct() |
||
47 | |||
48 | 1 | /** |
|
49 | * @param FlexFormService $flexFormService |
||
50 | 1 | */ |
|
51 | 1 | public function setFlexFormService($flexFormService) |
|
55 | |||
56 | 1 | /** |
|
57 | * @param \TYPO3\CMS\Extbase\Service\TypoScriptService $typoScriptService |
||
58 | 1 | */ |
|
59 | 1 | public function setTypoScriptService($typoScriptService) |
|
63 | |||
64 | /** |
||
65 | * Override the given solrConfiguration with flex form configuration. |
||
66 | * |
||
67 | * @param string $flexFormData The raw data from database. |
||
68 | * @param TypoScriptConfiguration $solrTypoScriptConfiguration |
||
69 | 34 | * |
|
70 | * @return void |
||
71 | 34 | */ |
|
72 | 32 | public function overrideConfigurationWithFlexFormSettings($flexFormData, TypoScriptConfiguration $solrTypoScriptConfiguration) |
|
84 | |||
85 | /** |
||
86 | * Override filter in configuration. |
||
87 | * |
||
88 | * Will parse the filter from flex form structure and rewrite it as typoscript structure. |
||
89 | * |
||
90 | * @param array $flexFormConfiguration |
||
91 | 2 | * |
|
92 | * @return array |
||
93 | 2 | */ |
|
94 | 2 | protected function overrideFilter(array $flexFormConfiguration) |
|
113 | |||
114 | /** |
||
115 | * Returns filter in typoscript form from flex form. |
||
116 | * |
||
117 | * @param array $flexFormConfiguration |
||
118 | 2 | * |
|
119 | * @return array |
||
120 | 2 | */ |
|
121 | 2 | protected function getFilterFromFlexForm(array $flexFormConfiguration) |
|
136 | } |
||
137 |
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..