1 | <?php |
||
25 | final class HighchartsNavigation implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Active color. |
||
29 | * |
||
30 | * @var string |
||
31 | * @since 2.2.4 |
||
32 | */ |
||
33 | private $activeColor = "#003399"; |
||
34 | |||
35 | /** |
||
36 | * Animation. |
||
37 | * |
||
38 | * @var boolean|array |
||
39 | * @since 2.2.4 |
||
40 | */ |
||
41 | private $animation = true; |
||
42 | |||
43 | /** |
||
44 | * Arrow size. |
||
45 | * |
||
46 | * @var integer |
||
47 | * @since 2.2.4 |
||
48 | */ |
||
49 | private $arrowSize = 12; |
||
50 | |||
51 | /** |
||
52 | * Enabled. |
||
53 | * |
||
54 | * @var boolean |
||
55 | * @since 4.2.4 |
||
56 | */ |
||
57 | private $enabled = true; |
||
58 | |||
59 | /** |
||
60 | * Inactive color. |
||
61 | * |
||
62 | * @var string |
||
63 | * @since 2.2.4 |
||
64 | */ |
||
65 | private $inactiveColor = "#cccccc"; |
||
66 | |||
67 | /** |
||
68 | * Style. |
||
69 | * |
||
70 | * @var array |
||
71 | * @since 2.2.4 |
||
72 | */ |
||
73 | private $style; |
||
74 | |||
75 | /** |
||
76 | * Constructor. |
||
77 | * |
||
78 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
79 | */ |
||
80 | public function __construct($ignoreDefaultValues = true) { |
||
85 | |||
86 | /** |
||
87 | * Clear. |
||
88 | * |
||
89 | * @return void |
||
90 | */ |
||
91 | public function clear() { |
||
111 | |||
112 | /** |
||
113 | * Get the active color. |
||
114 | * |
||
115 | * @return string Returns the active color. |
||
116 | */ |
||
117 | public function getActiveColor() { |
||
120 | |||
121 | /** |
||
122 | * Get the animation. |
||
123 | * |
||
124 | * @return boolean|array Returns the animation. |
||
125 | */ |
||
126 | public function getAnimation() { |
||
129 | |||
130 | /** |
||
131 | * Get the arrow size. |
||
132 | * |
||
133 | * @return integer Returns the arrow size. |
||
134 | */ |
||
135 | public function getArrowSize() { |
||
138 | |||
139 | /** |
||
140 | * Get the enabled. |
||
141 | * |
||
142 | * @return boolean Returns the enabled. |
||
143 | */ |
||
144 | public function getEnabled() { |
||
147 | |||
148 | /** |
||
149 | * Get the inactive color. |
||
150 | * |
||
151 | * @return string Returns the inactive color. |
||
152 | */ |
||
153 | public function getInactiveColor() { |
||
156 | |||
157 | /** |
||
158 | * Get the style. |
||
159 | * |
||
160 | * @return array Returns the style. |
||
161 | */ |
||
162 | public function getStyle() { |
||
165 | |||
166 | /** |
||
167 | * Serialize this instance. |
||
168 | * |
||
169 | * @return array Returns an array representing this instance. |
||
170 | */ |
||
171 | public function jsonSerialize() { |
||
174 | |||
175 | /** |
||
176 | * Set the active color. |
||
177 | * |
||
178 | * @param string $activeColor The active color. |
||
179 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Legend\HighchartsNavigation Returns the highcharts navigation. |
||
180 | */ |
||
181 | public function setActiveColor($activeColor) { |
||
185 | |||
186 | /** |
||
187 | * Set the animation. |
||
188 | * |
||
189 | * @param boolean|array $animation The animation. |
||
190 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Legend\HighchartsNavigation Returns the highcharts navigation. |
||
191 | */ |
||
192 | public function setAnimation($animation) { |
||
196 | |||
197 | /** |
||
198 | * Set the arrow size. |
||
199 | * |
||
200 | * @param integer $arrowSize The arrow size. |
||
201 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Legend\HighchartsNavigation Returns the highcharts navigation. |
||
202 | */ |
||
203 | public function setArrowSize($arrowSize) { |
||
207 | |||
208 | /** |
||
209 | * Set the enabled. |
||
210 | * |
||
211 | * @param boolean $enabled The enabled. |
||
212 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Legend\HighchartsNavigation Returns the highcharts navigation. |
||
213 | */ |
||
214 | public function setEnabled($enabled) { |
||
218 | |||
219 | /** |
||
220 | * Set the inactive color. |
||
221 | * |
||
222 | * @param string $inactiveColor The inactive color. |
||
223 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Legend\HighchartsNavigation Returns the highcharts navigation. |
||
224 | */ |
||
225 | public function setInactiveColor($inactiveColor) { |
||
229 | |||
230 | /** |
||
231 | * Set the style. |
||
232 | * |
||
233 | * @param array $style The style. |
||
234 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Legend\HighchartsNavigation Returns the highcharts navigation. |
||
235 | */ |
||
236 | public function setStyle(array $style = null) { |
||
240 | |||
241 | /** |
||
242 | * Convert into an array representing this instance. |
||
243 | * |
||
244 | * @return array Returns an array representing this instance. |
||
245 | */ |
||
246 | public function toArray() { |
||
272 | |||
273 | } |
||
274 |
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..