1 | <?php |
||
18 | class ModuleOptions extends AbstractOptions |
||
19 | { |
||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | private $activeRenderers = []; |
||
24 | |||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | private $forms = []; |
||
29 | |||
30 | /** |
||
31 | * @var array |
||
32 | */ |
||
33 | private $rendererOptions = []; |
||
34 | |||
35 | /** @var array */ |
||
36 | private $jqueryValidateRulePlugins = []; |
||
37 | |||
38 | /** |
||
39 | * @return array |
||
40 | */ |
||
41 | public function getActiveRenderers() |
||
45 | |||
46 | /** |
||
47 | * @param array |
||
48 | */ |
||
49 | public function setActiveRenderers(array $activeRenderers) |
||
53 | |||
54 | /** |
||
55 | * @return ConfigInterface |
||
56 | * @throws InvalidArgumentException |
||
57 | */ |
||
58 | public function getForms() |
||
70 | |||
71 | /** |
||
72 | * @param array $forms |
||
73 | */ |
||
74 | public function setForms($forms) |
||
78 | |||
79 | /** |
||
80 | * @param array $options |
||
81 | */ |
||
82 | public function setRendererOptions(array $options) |
||
89 | |||
90 | /** |
||
91 | * @param string $renderer |
||
92 | * @param array $options |
||
93 | * |
||
94 | * @throws \InvalidArgumentException |
||
95 | */ |
||
96 | public function addRendererOptions($renderer, $options) |
||
111 | |||
112 | /** |
||
113 | * @param string $renderer |
||
114 | * |
||
115 | * @return null|AbstractOptions |
||
116 | * @throws \InvalidArgumentException |
||
117 | */ |
||
118 | public function getRendererOptions($renderer) |
||
122 | |||
123 | /** |
||
124 | * @return array |
||
125 | */ |
||
126 | public function getJqueryValidateRulePlugins() |
||
130 | |||
131 | /** |
||
132 | * @param array $jqueryValidateRulePlugins |
||
133 | */ |
||
134 | public function setJqueryValidateRulePlugins(array $jqueryValidateRulePlugins) |
||
138 | } |
||
139 |
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..