Complex classes like HighchartsBar often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use HighchartsBar, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsBar implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Allow point select. |
||
29 | * |
||
30 | * @var boolean |
||
31 | * @since 1.2.0 |
||
32 | */ |
||
33 | private $allowPointSelect = false; |
||
34 | |||
35 | /** |
||
36 | * Animation. |
||
37 | * |
||
38 | * @var boolean |
||
39 | */ |
||
40 | private $animation = true; |
||
41 | |||
42 | /** |
||
43 | * Animation limit. |
||
44 | * |
||
45 | * @var integer |
||
46 | */ |
||
47 | private $animationLimit; |
||
48 | |||
49 | /** |
||
50 | * Border color. |
||
51 | * |
||
52 | * @var string |
||
53 | */ |
||
54 | private $borderColor = "#ffffff"; |
||
55 | |||
56 | /** |
||
57 | * Border radius. |
||
58 | * |
||
59 | * @var integer |
||
60 | */ |
||
61 | private $borderRadius = 0; |
||
62 | |||
63 | /** |
||
64 | * Border width. |
||
65 | * |
||
66 | * @var integer |
||
67 | */ |
||
68 | private $borderWidth = 1; |
||
69 | |||
70 | /** |
||
71 | * Class name. |
||
72 | * |
||
73 | * @var string |
||
74 | * @since 5.0.0 |
||
75 | */ |
||
76 | private $className; |
||
77 | |||
78 | /** |
||
79 | * Color. |
||
80 | * |
||
81 | * @var string |
||
82 | */ |
||
83 | private $color; |
||
84 | |||
85 | /** |
||
86 | * Color by point. |
||
87 | * |
||
88 | * @var boolean |
||
89 | * @since 2.0 |
||
90 | */ |
||
91 | private $colorByPoint = false; |
||
92 | |||
93 | /** |
||
94 | * Color index. |
||
95 | * |
||
96 | * @var integer |
||
97 | * @since 5.0.0 |
||
98 | */ |
||
99 | private $colorIndex; |
||
100 | |||
101 | /** |
||
102 | * Colors. |
||
103 | * |
||
104 | * @var array |
||
105 | * @since 3.0 |
||
106 | */ |
||
107 | private $colors; |
||
108 | |||
109 | /** |
||
110 | * Crisp. |
||
111 | * |
||
112 | * @var boolean |
||
113 | * @since 5.0.10 |
||
114 | */ |
||
115 | private $crisp = true; |
||
116 | |||
117 | /** |
||
118 | * Crop threshold. |
||
119 | * |
||
120 | * @var integer |
||
121 | */ |
||
122 | private $cropThreshold = 50; |
||
123 | |||
124 | /** |
||
125 | * Cursor. |
||
126 | * |
||
127 | * @var string |
||
128 | */ |
||
129 | private $cursor; |
||
130 | |||
131 | /** |
||
132 | * Data labels. |
||
133 | * |
||
134 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsDataLabels |
||
135 | */ |
||
136 | private $dataLabels; |
||
137 | |||
138 | /** |
||
139 | * Depth. |
||
140 | * |
||
141 | * @var integer |
||
142 | * @since 4.0 |
||
143 | */ |
||
144 | private $depth = 25; |
||
145 | |||
146 | /** |
||
147 | * Description. |
||
148 | * |
||
149 | * @var string |
||
150 | * @since 5.0.0 |
||
151 | */ |
||
152 | private $description; |
||
153 | |||
154 | /** |
||
155 | * Edge color. |
||
156 | * |
||
157 | * @var string |
||
158 | */ |
||
159 | private $edgeColor; |
||
160 | |||
161 | /** |
||
162 | * Edge width. |
||
163 | * |
||
164 | * @var integer |
||
165 | */ |
||
166 | private $edgeWidth = 1; |
||
167 | |||
168 | /** |
||
169 | * Enable mouse tracking. |
||
170 | * |
||
171 | * @var boolean |
||
172 | */ |
||
173 | private $enableMouseTracking = true; |
||
174 | |||
175 | /** |
||
176 | * Events. |
||
177 | * |
||
178 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsEvents |
||
179 | */ |
||
180 | private $events; |
||
181 | |||
182 | /** |
||
183 | * Expose element to a11y. |
||
184 | * |
||
185 | * @var boolean |
||
186 | * @since 5.0.12 |
||
187 | */ |
||
188 | private $exposeElementToA11y; |
||
189 | |||
190 | /** |
||
191 | * Find nearest point by. |
||
192 | * |
||
193 | * @var string |
||
194 | * @since 5.0.10 |
||
195 | */ |
||
196 | private $findNearestPointBy; |
||
197 | |||
198 | /** |
||
199 | * Get extremes from all. |
||
200 | * |
||
201 | * @var boolean |
||
202 | * @since 4.1.6 |
||
203 | */ |
||
204 | private $getExtremesFromAll = false; |
||
205 | |||
206 | /** |
||
207 | * Group padding. |
||
208 | * |
||
209 | * @var integer |
||
210 | */ |
||
211 | private $groupPadding = 0.2; |
||
212 | |||
213 | /** |
||
214 | * Group z padding. |
||
215 | * |
||
216 | * @var integer |
||
217 | * @since 4.0 |
||
218 | */ |
||
219 | private $groupZPadding = 1; |
||
220 | |||
221 | /** |
||
222 | * Grouping. |
||
223 | * |
||
224 | * @var boolean |
||
225 | * @since 2.3.0 |
||
226 | */ |
||
227 | private $grouping = true; |
||
228 | |||
229 | /** |
||
230 | * Keys. |
||
231 | * |
||
232 | * @var array |
||
233 | * @since 4.1.6 |
||
234 | */ |
||
235 | private $keys; |
||
236 | |||
237 | /** |
||
238 | * Linked to. |
||
239 | * |
||
240 | * @var string |
||
241 | * @since 3.0 |
||
242 | */ |
||
243 | private $linkedTo; |
||
244 | |||
245 | /** |
||
246 | * Max point width. |
||
247 | * |
||
248 | * @var integer |
||
249 | * @since 4.1.8 |
||
250 | */ |
||
251 | private $maxPointWidth; |
||
252 | |||
253 | /** |
||
254 | * Min point length. |
||
255 | * |
||
256 | * @var integer |
||
257 | */ |
||
258 | private $minPointLength = 0; |
||
259 | |||
260 | /** |
||
261 | * Negative color. |
||
262 | * |
||
263 | * @var string |
||
264 | * @since 3.0 |
||
265 | */ |
||
266 | private $negativeColor; |
||
267 | |||
268 | /** |
||
269 | * Point. |
||
270 | * |
||
271 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsPoint |
||
272 | */ |
||
273 | private $point; |
||
274 | |||
275 | /** |
||
276 | * Point description formatter. |
||
277 | * |
||
278 | * @var string |
||
279 | * @since 5.0.12 |
||
280 | */ |
||
281 | private $pointDescriptionFormatter; |
||
282 | |||
283 | /** |
||
284 | * Point interval. |
||
285 | * |
||
286 | * @var integer |
||
287 | */ |
||
288 | private $pointInterval = 1; |
||
289 | |||
290 | /** |
||
291 | * Point interval unit. |
||
292 | * |
||
293 | * @var string |
||
294 | * @since 4.1.0 |
||
295 | */ |
||
296 | private $pointIntervalUnit; |
||
297 | |||
298 | /** |
||
299 | * Point padding. |
||
300 | * |
||
301 | * @var integer |
||
302 | */ |
||
303 | private $pointPadding = 0.1; |
||
304 | |||
305 | /** |
||
306 | * Point placement. |
||
307 | * |
||
308 | * @var string|integer |
||
309 | * @since 2.3.0 |
||
310 | */ |
||
311 | private $pointPlacement; |
||
312 | |||
313 | /** |
||
314 | * Point range. |
||
315 | * |
||
316 | * @var integer |
||
317 | * @since 2.3 |
||
318 | */ |
||
319 | private $pointRange; |
||
320 | |||
321 | /** |
||
322 | * Point start. |
||
323 | * |
||
324 | * @var integer |
||
325 | */ |
||
326 | private $pointStart = 0; |
||
327 | |||
328 | /** |
||
329 | * Point width. |
||
330 | * |
||
331 | * @var integer |
||
332 | * @since 1.2.5 |
||
333 | */ |
||
334 | private $pointWidth; |
||
335 | |||
336 | /** |
||
337 | * Selected. |
||
338 | * |
||
339 | * @var boolean |
||
340 | * @since 1.2.0 |
||
341 | */ |
||
342 | private $selected = false; |
||
343 | |||
344 | /** |
||
345 | * Shadow. |
||
346 | * |
||
347 | * @var boolean|array |
||
348 | */ |
||
349 | private $shadow = false; |
||
350 | |||
351 | /** |
||
352 | * Show checkbox. |
||
353 | * |
||
354 | * @var boolean |
||
355 | * @since 1.2.0 |
||
356 | */ |
||
357 | private $showCheckbox = false; |
||
358 | |||
359 | /** |
||
360 | * Show in legend. |
||
361 | * |
||
362 | * @var boolean |
||
363 | */ |
||
364 | private $showInLegend = true; |
||
365 | |||
366 | /** |
||
367 | * Skip keyboard navigation. |
||
368 | * |
||
369 | * @var boolean |
||
370 | * @since 5.0.12 |
||
371 | */ |
||
372 | private $skipKeyboardNavigation; |
||
373 | |||
374 | /** |
||
375 | * Soft threshold. |
||
376 | * |
||
377 | * @var boolean |
||
378 | * @since 4.1.9 |
||
379 | */ |
||
380 | private $softThreshold = true; |
||
381 | |||
382 | /** |
||
383 | * Stacking. |
||
384 | * |
||
385 | * @var string |
||
386 | */ |
||
387 | private $stacking; |
||
388 | |||
389 | /** |
||
390 | * States. |
||
391 | * |
||
392 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsStates |
||
393 | */ |
||
394 | private $states; |
||
395 | |||
396 | /** |
||
397 | * Sticky tracking. |
||
398 | * |
||
399 | * @var boolean |
||
400 | * @since 2.0 |
||
401 | */ |
||
402 | private $stickyTracking = true; |
||
403 | |||
404 | /** |
||
405 | * Threshold. |
||
406 | * |
||
407 | * @var integer |
||
408 | * @since 2.0 |
||
409 | */ |
||
410 | private $threshold = 0; |
||
411 | |||
412 | /** |
||
413 | * Tooltip. |
||
414 | * |
||
415 | * @var array |
||
416 | * @since 2.3 |
||
417 | */ |
||
418 | private $tooltip; |
||
419 | |||
420 | /** |
||
421 | * Turbo threshold. |
||
422 | * |
||
423 | * @var integer |
||
424 | * @since 2.2 |
||
425 | */ |
||
426 | private $turboThreshold = 1000; |
||
427 | |||
428 | /** |
||
429 | * Visible. |
||
430 | * |
||
431 | * @var boolean |
||
432 | */ |
||
433 | private $visible = true; |
||
434 | |||
435 | /** |
||
436 | * Zone axis. |
||
437 | * |
||
438 | * @var string |
||
439 | * @since 4.1.0 |
||
440 | */ |
||
441 | private $zoneAxis = "y"; |
||
442 | |||
443 | /** |
||
444 | * Zones. |
||
445 | * |
||
446 | * @var array |
||
447 | * @since 4.1.0 |
||
448 | */ |
||
449 | private $zones; |
||
450 | |||
451 | /** |
||
452 | * Constructor. |
||
453 | * |
||
454 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
455 | */ |
||
456 | public function __construct($ignoreDefaultValues = true) { |
||
461 | |||
462 | /** |
||
463 | * Clear. |
||
464 | * |
||
465 | * @return void |
||
466 | */ |
||
467 | public function clear() { |
||
645 | |||
646 | /** |
||
647 | * Get the allow point select. |
||
648 | * |
||
649 | * @return boolean Returns the allow point select. |
||
650 | */ |
||
651 | public function getAllowPointSelect() { |
||
654 | |||
655 | /** |
||
656 | * Get the animation. |
||
657 | * |
||
658 | * @return boolean Returns the animation. |
||
659 | */ |
||
660 | public function getAnimation() { |
||
663 | |||
664 | /** |
||
665 | * Get the animation limit. |
||
666 | * |
||
667 | * @return integer Returns the animation limit. |
||
668 | */ |
||
669 | public function getAnimationLimit() { |
||
672 | |||
673 | /** |
||
674 | * Get the border color. |
||
675 | * |
||
676 | * @return string Returns the border color. |
||
677 | */ |
||
678 | public function getBorderColor() { |
||
681 | |||
682 | /** |
||
683 | * Get the border radius. |
||
684 | * |
||
685 | * @return integer Returns the border radius. |
||
686 | */ |
||
687 | public function getBorderRadius() { |
||
690 | |||
691 | /** |
||
692 | * Get the border width. |
||
693 | * |
||
694 | * @return integer Returns the border width. |
||
695 | */ |
||
696 | public function getBorderWidth() { |
||
699 | |||
700 | /** |
||
701 | * Get the class name. |
||
702 | * |
||
703 | * @return string Returns the class name. |
||
704 | */ |
||
705 | public function getClassName() { |
||
708 | |||
709 | /** |
||
710 | * Get the color. |
||
711 | * |
||
712 | * @return string Returns the color. |
||
713 | */ |
||
714 | public function getColor() { |
||
717 | |||
718 | /** |
||
719 | * Get the color by point. |
||
720 | * |
||
721 | * @return boolean Returns the color by point. |
||
722 | */ |
||
723 | public function getColorByPoint() { |
||
726 | |||
727 | /** |
||
728 | * Get the color index. |
||
729 | * |
||
730 | * @return integer Returns the color index. |
||
731 | */ |
||
732 | public function getColorIndex() { |
||
735 | |||
736 | /** |
||
737 | * Get the colors. |
||
738 | * |
||
739 | * @return array Returns the colors. |
||
740 | */ |
||
741 | public function getColors() { |
||
744 | |||
745 | /** |
||
746 | * Get the crisp. |
||
747 | * |
||
748 | * @return boolean Returns the crisp. |
||
749 | */ |
||
750 | public function getCrisp() { |
||
753 | |||
754 | /** |
||
755 | * Get the crop threshold. |
||
756 | * |
||
757 | * @return integer Returns the crop threshold. |
||
758 | */ |
||
759 | public function getCropThreshold() { |
||
762 | |||
763 | /** |
||
764 | * Get the cursor. |
||
765 | * |
||
766 | * @return string Returns the cursor. |
||
767 | */ |
||
768 | public function getCursor() { |
||
771 | |||
772 | /** |
||
773 | * Get the data labels. |
||
774 | * |
||
775 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsDataLabels Returns the data labels. |
||
776 | */ |
||
777 | public function getDataLabels() { |
||
780 | |||
781 | /** |
||
782 | * Get the depth. |
||
783 | * |
||
784 | * @return integer Returns the depth. |
||
785 | */ |
||
786 | public function getDepth() { |
||
789 | |||
790 | /** |
||
791 | * Get the description. |
||
792 | * |
||
793 | * @return string Returns the description. |
||
794 | */ |
||
795 | public function getDescription() { |
||
798 | |||
799 | /** |
||
800 | * Get the edge color. |
||
801 | * |
||
802 | * @return string Returns the edge color. |
||
803 | */ |
||
804 | public function getEdgeColor() { |
||
807 | |||
808 | /** |
||
809 | * Get the edge width. |
||
810 | * |
||
811 | * @return integer Returns the edge width. |
||
812 | */ |
||
813 | public function getEdgeWidth() { |
||
816 | |||
817 | /** |
||
818 | * Get the enable mouse tracking. |
||
819 | * |
||
820 | * @return boolean Returns the enable mouse tracking. |
||
821 | */ |
||
822 | public function getEnableMouseTracking() { |
||
825 | |||
826 | /** |
||
827 | * Get the events. |
||
828 | * |
||
829 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsEvents Returns the events. |
||
830 | */ |
||
831 | public function getEvents() { |
||
834 | |||
835 | /** |
||
836 | * Get the expose element to a11y. |
||
837 | * |
||
838 | * @return boolean Returns the expose element to a11y. |
||
839 | */ |
||
840 | public function getExposeElementToA11y() { |
||
843 | |||
844 | /** |
||
845 | * Get the find nearest point by. |
||
846 | * |
||
847 | * @return string Returns the find nearest point by. |
||
848 | */ |
||
849 | public function getFindNearestPointBy() { |
||
852 | |||
853 | /** |
||
854 | * Get the get extremes from all. |
||
855 | * |
||
856 | * @return boolean Returns the get extremes from all. |
||
857 | */ |
||
858 | public function getGetExtremesFromAll() { |
||
861 | |||
862 | /** |
||
863 | * Get the group padding. |
||
864 | * |
||
865 | * @return integer Returns the group padding. |
||
866 | */ |
||
867 | public function getGroupPadding() { |
||
870 | |||
871 | /** |
||
872 | * Get the group z padding. |
||
873 | * |
||
874 | * @return integer Returns the group z padding. |
||
875 | */ |
||
876 | public function getGroupZPadding() { |
||
879 | |||
880 | /** |
||
881 | * Get the grouping. |
||
882 | * |
||
883 | * @return boolean Returns the grouping. |
||
884 | */ |
||
885 | public function getGrouping() { |
||
888 | |||
889 | /** |
||
890 | * Get the keys. |
||
891 | * |
||
892 | * @return array Returns the keys. |
||
893 | */ |
||
894 | public function getKeys() { |
||
897 | |||
898 | /** |
||
899 | * Get the linked to. |
||
900 | * |
||
901 | * @return string Returns the linked to. |
||
902 | */ |
||
903 | public function getLinkedTo() { |
||
906 | |||
907 | /** |
||
908 | * Get the max point width. |
||
909 | * |
||
910 | * @return integer Returns the max point width. |
||
911 | */ |
||
912 | public function getMaxPointWidth() { |
||
915 | |||
916 | /** |
||
917 | * Get the min point length. |
||
918 | * |
||
919 | * @return integer Returns the min point length. |
||
920 | */ |
||
921 | public function getMinPointLength() { |
||
924 | |||
925 | /** |
||
926 | * Get the negative color. |
||
927 | * |
||
928 | * @return string Returns the negative color. |
||
929 | */ |
||
930 | public function getNegativeColor() { |
||
933 | |||
934 | /** |
||
935 | * Get the point. |
||
936 | * |
||
937 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsPoint Returns the point. |
||
938 | */ |
||
939 | public function getPoint() { |
||
942 | |||
943 | /** |
||
944 | * Get the point description formatter. |
||
945 | * |
||
946 | * @return string Returns the point description formatter. |
||
947 | */ |
||
948 | public function getPointDescriptionFormatter() { |
||
951 | |||
952 | /** |
||
953 | * Get the point interval. |
||
954 | * |
||
955 | * @return integer Returns the point interval. |
||
956 | */ |
||
957 | public function getPointInterval() { |
||
960 | |||
961 | /** |
||
962 | * Get the point interval unit. |
||
963 | * |
||
964 | * @return string Returns the point interval unit. |
||
965 | */ |
||
966 | public function getPointIntervalUnit() { |
||
969 | |||
970 | /** |
||
971 | * Get the point padding. |
||
972 | * |
||
973 | * @return integer Returns the point padding. |
||
974 | */ |
||
975 | public function getPointPadding() { |
||
978 | |||
979 | /** |
||
980 | * Get the point placement. |
||
981 | * |
||
982 | * @return string|integer Returns the point placement. |
||
983 | */ |
||
984 | public function getPointPlacement() { |
||
987 | |||
988 | /** |
||
989 | * Get the point range. |
||
990 | * |
||
991 | * @return integer Returns the point range. |
||
992 | */ |
||
993 | public function getPointRange() { |
||
996 | |||
997 | /** |
||
998 | * Get the point start. |
||
999 | * |
||
1000 | * @return integer Returns the point start. |
||
1001 | */ |
||
1002 | public function getPointStart() { |
||
1005 | |||
1006 | /** |
||
1007 | * Get the point width. |
||
1008 | * |
||
1009 | * @return integer Returns the point width. |
||
1010 | */ |
||
1011 | public function getPointWidth() { |
||
1014 | |||
1015 | /** |
||
1016 | * Get the selected. |
||
1017 | * |
||
1018 | * @return boolean Returns the selected. |
||
1019 | */ |
||
1020 | public function getSelected() { |
||
1023 | |||
1024 | /** |
||
1025 | * Get the shadow. |
||
1026 | * |
||
1027 | * @return boolean|array Returns the shadow. |
||
1028 | */ |
||
1029 | public function getShadow() { |
||
1032 | |||
1033 | /** |
||
1034 | * Get the show checkbox. |
||
1035 | * |
||
1036 | * @return boolean Returns the show checkbox. |
||
1037 | */ |
||
1038 | public function getShowCheckbox() { |
||
1041 | |||
1042 | /** |
||
1043 | * Get the show in legend. |
||
1044 | * |
||
1045 | * @return boolean Returns the show in legend. |
||
1046 | */ |
||
1047 | public function getShowInLegend() { |
||
1050 | |||
1051 | /** |
||
1052 | * Get the skip keyboard navigation. |
||
1053 | * |
||
1054 | * @return boolean Returns the skip keyboard navigation. |
||
1055 | */ |
||
1056 | public function getSkipKeyboardNavigation() { |
||
1059 | |||
1060 | /** |
||
1061 | * Get the soft threshold. |
||
1062 | * |
||
1063 | * @return boolean Returns the soft threshold. |
||
1064 | */ |
||
1065 | public function getSoftThreshold() { |
||
1068 | |||
1069 | /** |
||
1070 | * Get the stacking. |
||
1071 | * |
||
1072 | * @return string Returns the stacking. |
||
1073 | */ |
||
1074 | public function getStacking() { |
||
1077 | |||
1078 | /** |
||
1079 | * Get the states. |
||
1080 | * |
||
1081 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsStates Returns the states. |
||
1082 | */ |
||
1083 | public function getStates() { |
||
1086 | |||
1087 | /** |
||
1088 | * Get the sticky tracking. |
||
1089 | * |
||
1090 | * @return boolean Returns the sticky tracking. |
||
1091 | */ |
||
1092 | public function getStickyTracking() { |
||
1095 | |||
1096 | /** |
||
1097 | * Get the threshold. |
||
1098 | * |
||
1099 | * @return integer Returns the threshold. |
||
1100 | */ |
||
1101 | public function getThreshold() { |
||
1104 | |||
1105 | /** |
||
1106 | * Get the tooltip. |
||
1107 | * |
||
1108 | * @return array Returns the tooltip. |
||
1109 | */ |
||
1110 | public function getTooltip() { |
||
1113 | |||
1114 | /** |
||
1115 | * Get the turbo threshold. |
||
1116 | * |
||
1117 | * @return integer Returns the turbo threshold. |
||
1118 | */ |
||
1119 | public function getTurboThreshold() { |
||
1122 | |||
1123 | /** |
||
1124 | * Get the visible. |
||
1125 | * |
||
1126 | * @return boolean Returns the visible. |
||
1127 | */ |
||
1128 | public function getVisible() { |
||
1131 | |||
1132 | /** |
||
1133 | * Get the zone axis. |
||
1134 | * |
||
1135 | * @return string Returns the zone axis. |
||
1136 | */ |
||
1137 | public function getZoneAxis() { |
||
1140 | |||
1141 | /** |
||
1142 | * Get the zones. |
||
1143 | * |
||
1144 | * @return array Returns the zones. |
||
1145 | */ |
||
1146 | public function getZones() { |
||
1149 | |||
1150 | /** |
||
1151 | * Serialize this instance. |
||
1152 | * |
||
1153 | * @return array Returns an array representing this instance. |
||
1154 | */ |
||
1155 | public function jsonSerialize() { |
||
1158 | |||
1159 | /** |
||
1160 | * Create a new data labels. |
||
1161 | * |
||
1162 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsDataLabels Returns the data labels. |
||
1163 | */ |
||
1164 | public function newDataLabels() { |
||
1168 | |||
1169 | /** |
||
1170 | * Create a new events. |
||
1171 | * |
||
1172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsEvents Returns the events. |
||
1173 | */ |
||
1174 | public function newEvents() { |
||
1178 | |||
1179 | /** |
||
1180 | * Create a new point. |
||
1181 | * |
||
1182 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsPoint Returns the point. |
||
1183 | */ |
||
1184 | public function newPoint() { |
||
1188 | |||
1189 | /** |
||
1190 | * Create a new states. |
||
1191 | * |
||
1192 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsStates Returns the states. |
||
1193 | */ |
||
1194 | public function newStates() { |
||
1198 | |||
1199 | /** |
||
1200 | * Set the allow point select. |
||
1201 | * |
||
1202 | * @param boolean $allowPointSelect The allow point select. |
||
1203 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1204 | */ |
||
1205 | public function setAllowPointSelect($allowPointSelect) { |
||
1209 | |||
1210 | /** |
||
1211 | * Set the animation. |
||
1212 | * |
||
1213 | * @param boolean $animation The animation. |
||
1214 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1215 | */ |
||
1216 | public function setAnimation($animation) { |
||
1220 | |||
1221 | /** |
||
1222 | * Set the animation limit. |
||
1223 | * |
||
1224 | * @param integer $animationLimit The animation limit. |
||
1225 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1226 | */ |
||
1227 | public function setAnimationLimit($animationLimit) { |
||
1231 | |||
1232 | /** |
||
1233 | * Set the border color. |
||
1234 | * |
||
1235 | * @param string $borderColor The border color. |
||
1236 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1237 | */ |
||
1238 | public function setBorderColor($borderColor) { |
||
1242 | |||
1243 | /** |
||
1244 | * Set the border radius. |
||
1245 | * |
||
1246 | * @param integer $borderRadius The border radius. |
||
1247 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1248 | */ |
||
1249 | public function setBorderRadius($borderRadius) { |
||
1253 | |||
1254 | /** |
||
1255 | * Set the border width. |
||
1256 | * |
||
1257 | * @param integer $borderWidth The border width. |
||
1258 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1259 | */ |
||
1260 | public function setBorderWidth($borderWidth) { |
||
1264 | |||
1265 | /** |
||
1266 | * Set the class name. |
||
1267 | * |
||
1268 | * @param string $className The class name. |
||
1269 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1270 | */ |
||
1271 | public function setClassName($className) { |
||
1275 | |||
1276 | /** |
||
1277 | * Set the color. |
||
1278 | * |
||
1279 | * @param string $color The color. |
||
1280 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1281 | */ |
||
1282 | public function setColor($color) { |
||
1286 | |||
1287 | /** |
||
1288 | * Set the color by point. |
||
1289 | * |
||
1290 | * @param boolean $colorByPoint The color by point. |
||
1291 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1292 | */ |
||
1293 | public function setColorByPoint($colorByPoint) { |
||
1297 | |||
1298 | /** |
||
1299 | * Set the color index. |
||
1300 | * |
||
1301 | * @param integer $colorIndex The color index. |
||
1302 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1303 | */ |
||
1304 | public function setColorIndex($colorIndex) { |
||
1308 | |||
1309 | /** |
||
1310 | * Set the colors. |
||
1311 | * |
||
1312 | * @param array $colors The colors. |
||
1313 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1314 | */ |
||
1315 | public function setColors(array $colors = null) { |
||
1319 | |||
1320 | /** |
||
1321 | * Set the crisp. |
||
1322 | * |
||
1323 | * @param boolean $crisp The crisp. |
||
1324 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1325 | */ |
||
1326 | public function setCrisp($crisp) { |
||
1330 | |||
1331 | /** |
||
1332 | * Set the crop threshold. |
||
1333 | * |
||
1334 | * @param integer $cropThreshold The crop threshold. |
||
1335 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1336 | */ |
||
1337 | public function setCropThreshold($cropThreshold) { |
||
1341 | |||
1342 | /** |
||
1343 | * Set the cursor. |
||
1344 | * |
||
1345 | * @param string $cursor The cursor. |
||
1346 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1347 | */ |
||
1348 | public function setCursor($cursor) { |
||
1361 | |||
1362 | /** |
||
1363 | * Set the data labels. |
||
1364 | * |
||
1365 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsDataLabels $dataLabels The data labels. |
||
1366 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1367 | */ |
||
1368 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsDataLabels $dataLabels = null) { |
||
1372 | |||
1373 | /** |
||
1374 | * Set the depth. |
||
1375 | * |
||
1376 | * @param integer $depth The depth. |
||
1377 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1378 | */ |
||
1379 | public function setDepth($depth) { |
||
1383 | |||
1384 | /** |
||
1385 | * Set the description. |
||
1386 | * |
||
1387 | * @param string $description The description. |
||
1388 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1389 | */ |
||
1390 | public function setDescription($description) { |
||
1394 | |||
1395 | /** |
||
1396 | * Set the edge color. |
||
1397 | * |
||
1398 | * @param string $edgeColor The edge color. |
||
1399 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1400 | */ |
||
1401 | public function setEdgeColor($edgeColor) { |
||
1405 | |||
1406 | /** |
||
1407 | * Set the edge width. |
||
1408 | * |
||
1409 | * @param integer $edgeWidth The edge width. |
||
1410 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1411 | */ |
||
1412 | public function setEdgeWidth($edgeWidth) { |
||
1416 | |||
1417 | /** |
||
1418 | * Set the enable mouse tracking. |
||
1419 | * |
||
1420 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1421 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1422 | */ |
||
1423 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1427 | |||
1428 | /** |
||
1429 | * Set the events. |
||
1430 | * |
||
1431 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsEvents $events The events. |
||
1432 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1433 | */ |
||
1434 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsEvents $events = null) { |
||
1438 | |||
1439 | /** |
||
1440 | * Set the expose element to a11y. |
||
1441 | * |
||
1442 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1443 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1444 | */ |
||
1445 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1449 | |||
1450 | /** |
||
1451 | * Set the find nearest point by. |
||
1452 | * |
||
1453 | * @param string $findNearestPointBy The find nearest point by. |
||
1454 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1455 | */ |
||
1456 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1465 | |||
1466 | /** |
||
1467 | * Set the get extremes from all. |
||
1468 | * |
||
1469 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1470 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1471 | */ |
||
1472 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1476 | |||
1477 | /** |
||
1478 | * Set the group padding. |
||
1479 | * |
||
1480 | * @param integer $groupPadding The group padding. |
||
1481 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1482 | */ |
||
1483 | public function setGroupPadding($groupPadding) { |
||
1487 | |||
1488 | /** |
||
1489 | * Set the group z padding. |
||
1490 | * |
||
1491 | * @param integer $groupZPadding The group z padding. |
||
1492 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1493 | */ |
||
1494 | public function setGroupZPadding($groupZPadding) { |
||
1498 | |||
1499 | /** |
||
1500 | * Set the grouping. |
||
1501 | * |
||
1502 | * @param boolean $grouping The grouping. |
||
1503 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1504 | */ |
||
1505 | public function setGrouping($grouping) { |
||
1509 | |||
1510 | /** |
||
1511 | * Set the keys. |
||
1512 | * |
||
1513 | * @param array $keys The keys. |
||
1514 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1515 | */ |
||
1516 | public function setKeys(array $keys = null) { |
||
1520 | |||
1521 | /** |
||
1522 | * Set the linked to. |
||
1523 | * |
||
1524 | * @param string $linkedTo The linked to. |
||
1525 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1526 | */ |
||
1527 | public function setLinkedTo($linkedTo) { |
||
1531 | |||
1532 | /** |
||
1533 | * Set the max point width. |
||
1534 | * |
||
1535 | * @param integer $maxPointWidth The max point width. |
||
1536 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1537 | */ |
||
1538 | public function setMaxPointWidth($maxPointWidth) { |
||
1542 | |||
1543 | /** |
||
1544 | * Set the min point length. |
||
1545 | * |
||
1546 | * @param integer $minPointLength The min point length. |
||
1547 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1548 | */ |
||
1549 | public function setMinPointLength($minPointLength) { |
||
1553 | |||
1554 | /** |
||
1555 | * Set the negative color. |
||
1556 | * |
||
1557 | * @param string $negativeColor The negative color. |
||
1558 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1559 | */ |
||
1560 | public function setNegativeColor($negativeColor) { |
||
1564 | |||
1565 | /** |
||
1566 | * Set the point. |
||
1567 | * |
||
1568 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsPoint $point The point. |
||
1569 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1570 | */ |
||
1571 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsPoint $point = null) { |
||
1575 | |||
1576 | /** |
||
1577 | * Set the point description formatter. |
||
1578 | * |
||
1579 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1580 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1581 | */ |
||
1582 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1586 | |||
1587 | /** |
||
1588 | * Set the point interval. |
||
1589 | * |
||
1590 | * @param integer $pointInterval The point interval. |
||
1591 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1592 | */ |
||
1593 | public function setPointInterval($pointInterval) { |
||
1597 | |||
1598 | /** |
||
1599 | * Set the point interval unit. |
||
1600 | * |
||
1601 | * @param string $pointIntervalUnit The point interval unit. |
||
1602 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1603 | */ |
||
1604 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
1615 | |||
1616 | /** |
||
1617 | * Set the point padding. |
||
1618 | * |
||
1619 | * @param integer $pointPadding The point padding. |
||
1620 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1621 | */ |
||
1622 | public function setPointPadding($pointPadding) { |
||
1626 | |||
1627 | /** |
||
1628 | * Set the point placement. |
||
1629 | * |
||
1630 | * @param string|integer $pointPlacement The point placement. |
||
1631 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1632 | */ |
||
1633 | public function setPointPlacement($pointPlacement) { |
||
1643 | |||
1644 | /** |
||
1645 | * Set the point range. |
||
1646 | * |
||
1647 | * @param integer $pointRange The point range. |
||
1648 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1649 | */ |
||
1650 | public function setPointRange($pointRange) { |
||
1654 | |||
1655 | /** |
||
1656 | * Set the point start. |
||
1657 | * |
||
1658 | * @param integer $pointStart The point start. |
||
1659 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1660 | */ |
||
1661 | public function setPointStart($pointStart) { |
||
1665 | |||
1666 | /** |
||
1667 | * Set the point width. |
||
1668 | * |
||
1669 | * @param integer $pointWidth The point width. |
||
1670 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1671 | */ |
||
1672 | public function setPointWidth($pointWidth) { |
||
1676 | |||
1677 | /** |
||
1678 | * Set the selected. |
||
1679 | * |
||
1680 | * @param boolean $selected The selected. |
||
1681 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1682 | */ |
||
1683 | public function setSelected($selected) { |
||
1687 | |||
1688 | /** |
||
1689 | * Set the shadow. |
||
1690 | * |
||
1691 | * @param boolean|array $shadow The shadow. |
||
1692 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1693 | */ |
||
1694 | public function setShadow($shadow) { |
||
1698 | |||
1699 | /** |
||
1700 | * Set the show checkbox. |
||
1701 | * |
||
1702 | * @param boolean $showCheckbox The show checkbox. |
||
1703 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1704 | */ |
||
1705 | public function setShowCheckbox($showCheckbox) { |
||
1709 | |||
1710 | /** |
||
1711 | * Set the show in legend. |
||
1712 | * |
||
1713 | * @param boolean $showInLegend The show in legend. |
||
1714 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1715 | */ |
||
1716 | public function setShowInLegend($showInLegend) { |
||
1720 | |||
1721 | /** |
||
1722 | * Set the skip keyboard navigation. |
||
1723 | * |
||
1724 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1725 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1726 | */ |
||
1727 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1731 | |||
1732 | /** |
||
1733 | * Set the soft threshold. |
||
1734 | * |
||
1735 | * @param boolean $softThreshold The soft threshold. |
||
1736 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1737 | */ |
||
1738 | public function setSoftThreshold($softThreshold) { |
||
1742 | |||
1743 | /** |
||
1744 | * Set the stacking. |
||
1745 | * |
||
1746 | * @param string $stacking The stacking. |
||
1747 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1748 | */ |
||
1749 | public function setStacking($stacking) { |
||
1759 | |||
1760 | /** |
||
1761 | * Set the states. |
||
1762 | * |
||
1763 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsStates $states The states. |
||
1764 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1765 | */ |
||
1766 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bar\HighchartsStates $states = null) { |
||
1770 | |||
1771 | /** |
||
1772 | * Set the sticky tracking. |
||
1773 | * |
||
1774 | * @param boolean $stickyTracking The sticky tracking. |
||
1775 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1776 | */ |
||
1777 | public function setStickyTracking($stickyTracking) { |
||
1781 | |||
1782 | /** |
||
1783 | * Set the threshold. |
||
1784 | * |
||
1785 | * @param integer $threshold The threshold. |
||
1786 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1787 | */ |
||
1788 | public function setThreshold($threshold) { |
||
1792 | |||
1793 | /** |
||
1794 | * Set the tooltip. |
||
1795 | * |
||
1796 | * @param array $tooltip The tooltip. |
||
1797 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1798 | */ |
||
1799 | public function setTooltip(array $tooltip = null) { |
||
1803 | |||
1804 | /** |
||
1805 | * Set the turbo threshold. |
||
1806 | * |
||
1807 | * @param integer $turboThreshold The turbo threshold. |
||
1808 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1809 | */ |
||
1810 | public function setTurboThreshold($turboThreshold) { |
||
1814 | |||
1815 | /** |
||
1816 | * Set the visible. |
||
1817 | * |
||
1818 | * @param boolean $visible The visible. |
||
1819 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1820 | */ |
||
1821 | public function setVisible($visible) { |
||
1825 | |||
1826 | /** |
||
1827 | * Set the zone axis. |
||
1828 | * |
||
1829 | * @param string $zoneAxis The zone axis. |
||
1830 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1831 | */ |
||
1832 | public function setZoneAxis($zoneAxis) { |
||
1836 | |||
1837 | /** |
||
1838 | * Set the zones. |
||
1839 | * |
||
1840 | * @param array $zones The zones. |
||
1841 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the highcharts bar. |
||
1842 | */ |
||
1843 | public function setZones(array $zones = null) { |
||
1847 | |||
1848 | /** |
||
1849 | * Convert into an array representing this instance. |
||
1850 | * |
||
1851 | * @return array Returns an array representing this instance. |
||
1852 | */ |
||
1853 | public function toArray() { |
||
2037 | |||
2038 | } |
||
2039 |
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..