Complex classes like HighchartsSolidgauge 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 HighchartsSolidgauge, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsSolidgauge implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Animation. |
||
29 | * |
||
30 | * @var boolean |
||
31 | */ |
||
32 | private $animation = true; |
||
33 | |||
34 | /** |
||
35 | * Animation limit. |
||
36 | * |
||
37 | * @var integer |
||
38 | */ |
||
39 | private $animationLimit; |
||
40 | |||
41 | /** |
||
42 | * Class name. |
||
43 | * |
||
44 | * @var string |
||
45 | * @since 5.0.0 |
||
46 | */ |
||
47 | private $className; |
||
48 | |||
49 | /** |
||
50 | * Color index. |
||
51 | * |
||
52 | * @var integer |
||
53 | * @since 5.0.0 |
||
54 | */ |
||
55 | private $colorIndex; |
||
56 | |||
57 | /** |
||
58 | * Cursor. |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | private $cursor; |
||
63 | |||
64 | /** |
||
65 | * Data labels. |
||
66 | * |
||
67 | * @var array |
||
68 | * @since 2.3.0 |
||
69 | */ |
||
70 | private $dataLabels; |
||
71 | |||
72 | /** |
||
73 | * Description. |
||
74 | * |
||
75 | * @var string |
||
76 | * @since 5.0.0 |
||
77 | */ |
||
78 | private $description; |
||
79 | |||
80 | /** |
||
81 | * Enable mouse tracking. |
||
82 | * |
||
83 | * @var boolean |
||
84 | */ |
||
85 | private $enableMouseTracking = true; |
||
86 | |||
87 | /** |
||
88 | * Events. |
||
89 | * |
||
90 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsEvents |
||
91 | */ |
||
92 | private $events; |
||
93 | |||
94 | /** |
||
95 | * Expose element to a11y. |
||
96 | * |
||
97 | * @var boolean |
||
98 | * @since 5.0.12 |
||
99 | */ |
||
100 | private $exposeElementToA11y; |
||
101 | |||
102 | /** |
||
103 | * Find nearest point by. |
||
104 | * |
||
105 | * @var string |
||
106 | * @since 5.0.10 |
||
107 | */ |
||
108 | private $findNearestPointBy; |
||
109 | |||
110 | /** |
||
111 | * Get extremes from all. |
||
112 | * |
||
113 | * @var boolean |
||
114 | * @since 4.1.6 |
||
115 | */ |
||
116 | private $getExtremesFromAll = false; |
||
117 | |||
118 | /** |
||
119 | * Keys. |
||
120 | * |
||
121 | * @var array |
||
122 | * @since 4.1.6 |
||
123 | */ |
||
124 | private $keys; |
||
125 | |||
126 | /** |
||
127 | * Linecap. |
||
128 | * |
||
129 | * @var string |
||
130 | * @since 4.2.2 |
||
131 | */ |
||
132 | private $linecap = "round"; |
||
133 | |||
134 | /** |
||
135 | * Overshoot. |
||
136 | * |
||
137 | * @var integer |
||
138 | * @since 3.0.10 |
||
139 | */ |
||
140 | private $overshoot = 0; |
||
141 | |||
142 | /** |
||
143 | * Point. |
||
144 | * |
||
145 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsPoint |
||
146 | */ |
||
147 | private $point; |
||
148 | |||
149 | /** |
||
150 | * Point description formatter. |
||
151 | * |
||
152 | * @var string |
||
153 | * @since 5.0.12 |
||
154 | */ |
||
155 | private $pointDescriptionFormatter; |
||
156 | |||
157 | /** |
||
158 | * Rounded. |
||
159 | * |
||
160 | * @var boolean |
||
161 | * @since 5.0.8 |
||
162 | */ |
||
163 | private $rounded = false; |
||
164 | |||
165 | /** |
||
166 | * Selected. |
||
167 | * |
||
168 | * @var boolean |
||
169 | * @since 1.2.0 |
||
170 | */ |
||
171 | private $selected = false; |
||
172 | |||
173 | /** |
||
174 | * Show checkbox. |
||
175 | * |
||
176 | * @var boolean |
||
177 | * @since 1.2.0 |
||
178 | */ |
||
179 | private $showCheckbox = false; |
||
180 | |||
181 | /** |
||
182 | * Show in legend. |
||
183 | * |
||
184 | * @var boolean |
||
185 | * @since 2.3.0 |
||
186 | */ |
||
187 | private $showInLegend; |
||
188 | |||
189 | /** |
||
190 | * Skip keyboard navigation. |
||
191 | * |
||
192 | * @var boolean |
||
193 | * @since 5.0.12 |
||
194 | */ |
||
195 | private $skipKeyboardNavigation; |
||
196 | |||
197 | /** |
||
198 | * Sticky tracking. |
||
199 | * |
||
200 | * @var boolean |
||
201 | * @since 2.0 |
||
202 | */ |
||
203 | private $stickyTracking = true; |
||
204 | |||
205 | /** |
||
206 | * Threshold. |
||
207 | * |
||
208 | * @var integer |
||
209 | * @since 5.0.3 |
||
210 | */ |
||
211 | private $threshold; |
||
212 | |||
213 | /** |
||
214 | * Tooltip. |
||
215 | * |
||
216 | * @var array |
||
217 | * @since 2.3 |
||
218 | */ |
||
219 | private $tooltip; |
||
220 | |||
221 | /** |
||
222 | * Visible. |
||
223 | * |
||
224 | * @var boolean |
||
225 | */ |
||
226 | private $visible = true; |
||
227 | |||
228 | /** |
||
229 | * Wrap. |
||
230 | * |
||
231 | * @var boolean |
||
232 | * @since 3.0 |
||
233 | */ |
||
234 | private $wrap = true; |
||
235 | |||
236 | /** |
||
237 | * Constructor. |
||
238 | * |
||
239 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
240 | */ |
||
241 | public function __construct($ignoreDefaultValues = true) { |
||
246 | |||
247 | /** |
||
248 | * Clear. |
||
249 | * |
||
250 | * @return void |
||
251 | */ |
||
252 | public function clear() { |
||
339 | |||
340 | /** |
||
341 | * Get the animation. |
||
342 | * |
||
343 | * @return boolean Returns the animation. |
||
344 | */ |
||
345 | public function getAnimation() { |
||
348 | |||
349 | /** |
||
350 | * Get the animation limit. |
||
351 | * |
||
352 | * @return integer Returns the animation limit. |
||
353 | */ |
||
354 | public function getAnimationLimit() { |
||
357 | |||
358 | /** |
||
359 | * Get the class name. |
||
360 | * |
||
361 | * @return string Returns the class name. |
||
362 | */ |
||
363 | public function getClassName() { |
||
366 | |||
367 | /** |
||
368 | * Get the color index. |
||
369 | * |
||
370 | * @return integer Returns the color index. |
||
371 | */ |
||
372 | public function getColorIndex() { |
||
375 | |||
376 | /** |
||
377 | * Get the cursor. |
||
378 | * |
||
379 | * @return string Returns the cursor. |
||
380 | */ |
||
381 | public function getCursor() { |
||
384 | |||
385 | /** |
||
386 | * Get the data labels. |
||
387 | * |
||
388 | * @return array Returns the data labels. |
||
389 | */ |
||
390 | public function getDataLabels() { |
||
393 | |||
394 | /** |
||
395 | * Get the description. |
||
396 | * |
||
397 | * @return string Returns the description. |
||
398 | */ |
||
399 | public function getDescription() { |
||
402 | |||
403 | /** |
||
404 | * Get the enable mouse tracking. |
||
405 | * |
||
406 | * @return boolean Returns the enable mouse tracking. |
||
407 | */ |
||
408 | public function getEnableMouseTracking() { |
||
411 | |||
412 | /** |
||
413 | * Get the events. |
||
414 | * |
||
415 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsEvents Returns the events. |
||
416 | */ |
||
417 | public function getEvents() { |
||
420 | |||
421 | /** |
||
422 | * Get the expose element to a11y. |
||
423 | * |
||
424 | * @return boolean Returns the expose element to a11y. |
||
425 | */ |
||
426 | public function getExposeElementToA11y() { |
||
429 | |||
430 | /** |
||
431 | * Get the find nearest point by. |
||
432 | * |
||
433 | * @return string Returns the find nearest point by. |
||
434 | */ |
||
435 | public function getFindNearestPointBy() { |
||
438 | |||
439 | /** |
||
440 | * Get the get extremes from all. |
||
441 | * |
||
442 | * @return boolean Returns the get extremes from all. |
||
443 | */ |
||
444 | public function getGetExtremesFromAll() { |
||
447 | |||
448 | /** |
||
449 | * Get the keys. |
||
450 | * |
||
451 | * @return array Returns the keys. |
||
452 | */ |
||
453 | public function getKeys() { |
||
456 | |||
457 | /** |
||
458 | * Get the linecap. |
||
459 | * |
||
460 | * @return string Returns the linecap. |
||
461 | */ |
||
462 | public function getLinecap() { |
||
465 | |||
466 | /** |
||
467 | * Get the overshoot. |
||
468 | * |
||
469 | * @return integer Returns the overshoot. |
||
470 | */ |
||
471 | public function getOvershoot() { |
||
474 | |||
475 | /** |
||
476 | * Get the point. |
||
477 | * |
||
478 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsPoint Returns the point. |
||
479 | */ |
||
480 | public function getPoint() { |
||
483 | |||
484 | /** |
||
485 | * Get the point description formatter. |
||
486 | * |
||
487 | * @return string Returns the point description formatter. |
||
488 | */ |
||
489 | public function getPointDescriptionFormatter() { |
||
492 | |||
493 | /** |
||
494 | * Get the rounded. |
||
495 | * |
||
496 | * @return boolean Returns the rounded. |
||
497 | */ |
||
498 | public function getRounded() { |
||
501 | |||
502 | /** |
||
503 | * Get the selected. |
||
504 | * |
||
505 | * @return boolean Returns the selected. |
||
506 | */ |
||
507 | public function getSelected() { |
||
510 | |||
511 | /** |
||
512 | * Get the show checkbox. |
||
513 | * |
||
514 | * @return boolean Returns the show checkbox. |
||
515 | */ |
||
516 | public function getShowCheckbox() { |
||
519 | |||
520 | /** |
||
521 | * Get the show in legend. |
||
522 | * |
||
523 | * @return boolean Returns the show in legend. |
||
524 | */ |
||
525 | public function getShowInLegend() { |
||
528 | |||
529 | /** |
||
530 | * Get the skip keyboard navigation. |
||
531 | * |
||
532 | * @return boolean Returns the skip keyboard navigation. |
||
533 | */ |
||
534 | public function getSkipKeyboardNavigation() { |
||
537 | |||
538 | /** |
||
539 | * Get the sticky tracking. |
||
540 | * |
||
541 | * @return boolean Returns the sticky tracking. |
||
542 | */ |
||
543 | public function getStickyTracking() { |
||
546 | |||
547 | /** |
||
548 | * Get the threshold. |
||
549 | * |
||
550 | * @return integer Returns the threshold. |
||
551 | */ |
||
552 | public function getThreshold() { |
||
555 | |||
556 | /** |
||
557 | * Get the tooltip. |
||
558 | * |
||
559 | * @return array Returns the tooltip. |
||
560 | */ |
||
561 | public function getTooltip() { |
||
564 | |||
565 | /** |
||
566 | * Get the visible. |
||
567 | * |
||
568 | * @return boolean Returns the visible. |
||
569 | */ |
||
570 | public function getVisible() { |
||
573 | |||
574 | /** |
||
575 | * Get the wrap. |
||
576 | * |
||
577 | * @return boolean Returns the wrap. |
||
578 | */ |
||
579 | public function getWrap() { |
||
582 | |||
583 | /** |
||
584 | * Serialize this instance. |
||
585 | * |
||
586 | * @return array Returns an array representing this instance. |
||
587 | */ |
||
588 | public function jsonSerialize() { |
||
591 | |||
592 | /** |
||
593 | * Create a new events. |
||
594 | * |
||
595 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsEvents Returns the events. |
||
596 | */ |
||
597 | public function newEvents() { |
||
601 | |||
602 | /** |
||
603 | * Create a new point. |
||
604 | * |
||
605 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsPoint Returns the point. |
||
606 | */ |
||
607 | public function newPoint() { |
||
611 | |||
612 | /** |
||
613 | * Set the animation. |
||
614 | * |
||
615 | * @param boolean $animation The animation. |
||
616 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
617 | */ |
||
618 | public function setAnimation($animation) { |
||
622 | |||
623 | /** |
||
624 | * Set the animation limit. |
||
625 | * |
||
626 | * @param integer $animationLimit The animation limit. |
||
627 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
628 | */ |
||
629 | public function setAnimationLimit($animationLimit) { |
||
633 | |||
634 | /** |
||
635 | * Set the class name. |
||
636 | * |
||
637 | * @param string $className The class name. |
||
638 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
639 | */ |
||
640 | public function setClassName($className) { |
||
644 | |||
645 | /** |
||
646 | * Set the color index. |
||
647 | * |
||
648 | * @param integer $colorIndex The color index. |
||
649 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
650 | */ |
||
651 | public function setColorIndex($colorIndex) { |
||
655 | |||
656 | /** |
||
657 | * Set the cursor. |
||
658 | * |
||
659 | * @param string $cursor The cursor. |
||
660 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
661 | */ |
||
662 | public function setCursor($cursor) { |
||
675 | |||
676 | /** |
||
677 | * Set the data labels. |
||
678 | * |
||
679 | * @param array $dataLabels The data labels. |
||
680 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
681 | */ |
||
682 | public function setDataLabels(array $dataLabels = null) { |
||
686 | |||
687 | /** |
||
688 | * Set the description. |
||
689 | * |
||
690 | * @param string $description The description. |
||
691 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
692 | */ |
||
693 | public function setDescription($description) { |
||
697 | |||
698 | /** |
||
699 | * Set the enable mouse tracking. |
||
700 | * |
||
701 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
702 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
703 | */ |
||
704 | public function setEnableMouseTracking($enableMouseTracking) { |
||
708 | |||
709 | /** |
||
710 | * Set the events. |
||
711 | * |
||
712 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsEvents $events The events. |
||
713 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
714 | */ |
||
715 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsEvents $events = null) { |
||
719 | |||
720 | /** |
||
721 | * Set the expose element to a11y. |
||
722 | * |
||
723 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
724 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
725 | */ |
||
726 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
730 | |||
731 | /** |
||
732 | * Set the find nearest point by. |
||
733 | * |
||
734 | * @param string $findNearestPointBy The find nearest point by. |
||
735 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
736 | */ |
||
737 | public function setFindNearestPointBy($findNearestPointBy) { |
||
746 | |||
747 | /** |
||
748 | * Set the get extremes from all. |
||
749 | * |
||
750 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
751 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
752 | */ |
||
753 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
757 | |||
758 | /** |
||
759 | * Set the keys. |
||
760 | * |
||
761 | * @param array $keys The keys. |
||
762 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
763 | */ |
||
764 | public function setKeys(array $keys = null) { |
||
768 | |||
769 | /** |
||
770 | * Set the linecap. |
||
771 | * |
||
772 | * @param string $linecap The linecap. |
||
773 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
774 | */ |
||
775 | public function setLinecap($linecap) { |
||
784 | |||
785 | /** |
||
786 | * Set the overshoot. |
||
787 | * |
||
788 | * @param integer $overshoot The overshoot. |
||
789 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
790 | */ |
||
791 | public function setOvershoot($overshoot) { |
||
795 | |||
796 | /** |
||
797 | * Set the point. |
||
798 | * |
||
799 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsPoint $point The point. |
||
800 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
801 | */ |
||
802 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Solidgauge\HighchartsPoint $point = null) { |
||
806 | |||
807 | /** |
||
808 | * Set the point description formatter. |
||
809 | * |
||
810 | * @param string $pointDescriptionFormatter The point description formatter. |
||
811 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
812 | */ |
||
813 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
817 | |||
818 | /** |
||
819 | * Set the rounded. |
||
820 | * |
||
821 | * @param boolean $rounded The rounded. |
||
822 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
823 | */ |
||
824 | public function setRounded($rounded) { |
||
828 | |||
829 | /** |
||
830 | * Set the selected. |
||
831 | * |
||
832 | * @param boolean $selected The selected. |
||
833 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
834 | */ |
||
835 | public function setSelected($selected) { |
||
839 | |||
840 | /** |
||
841 | * Set the show checkbox. |
||
842 | * |
||
843 | * @param boolean $showCheckbox The show checkbox. |
||
844 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
845 | */ |
||
846 | public function setShowCheckbox($showCheckbox) { |
||
850 | |||
851 | /** |
||
852 | * Set the show in legend. |
||
853 | * |
||
854 | * @param boolean $showInLegend The show in legend. |
||
855 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
856 | */ |
||
857 | public function setShowInLegend($showInLegend) { |
||
861 | |||
862 | /** |
||
863 | * Set the skip keyboard navigation. |
||
864 | * |
||
865 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
866 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
867 | */ |
||
868 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
872 | |||
873 | /** |
||
874 | * Set the sticky tracking. |
||
875 | * |
||
876 | * @param boolean $stickyTracking The sticky tracking. |
||
877 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
878 | */ |
||
879 | public function setStickyTracking($stickyTracking) { |
||
883 | |||
884 | /** |
||
885 | * Set the threshold. |
||
886 | * |
||
887 | * @param integer $threshold The threshold. |
||
888 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
889 | */ |
||
890 | public function setThreshold($threshold) { |
||
894 | |||
895 | /** |
||
896 | * Set the tooltip. |
||
897 | * |
||
898 | * @param array $tooltip The tooltip. |
||
899 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
900 | */ |
||
901 | public function setTooltip(array $tooltip = null) { |
||
905 | |||
906 | /** |
||
907 | * Set the visible. |
||
908 | * |
||
909 | * @param boolean $visible The visible. |
||
910 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
911 | */ |
||
912 | public function setVisible($visible) { |
||
916 | |||
917 | /** |
||
918 | * Set the wrap. |
||
919 | * |
||
920 | * @param boolean $wrap The wrap. |
||
921 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
922 | */ |
||
923 | public function setWrap($wrap) { |
||
927 | |||
928 | /** |
||
929 | * Convert into an array representing this instance. |
||
930 | * |
||
931 | * @return array Returns an array representing this instance. |
||
932 | */ |
||
933 | public function toArray() { |
||
1026 | |||
1027 | } |
||
1028 |
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..