This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /** |
||
4 | * This file is part of the highcharts-bundle package. |
||
5 | * |
||
6 | * (c) 2017 WEBEWEB |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions; |
||
13 | |||
14 | use JsonSerializable; |
||
15 | use WBW\Library\Core\Utility\Argument\ArrayUtility; |
||
16 | |||
17 | /** |
||
18 | * Highcharts columnrange. |
||
19 | * |
||
20 | * @author webeweb <https://github.com/webeweb/> |
||
21 | * @package WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions |
||
22 | * @version 5.0.14 |
||
23 | * @final |
||
24 | */ |
||
25 | final class HighchartsColumnrange 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 array |
||
135 | * @since 2.3.0 |
||
136 | */ |
||
137 | private $dataLabels; |
||
138 | |||
139 | /** |
||
140 | * Depth. |
||
141 | * |
||
142 | * @var integer |
||
143 | * @since 4.0 |
||
144 | */ |
||
145 | private $depth = 25; |
||
146 | |||
147 | /** |
||
148 | * Description. |
||
149 | * |
||
150 | * @var string |
||
151 | * @since 5.0.0 |
||
152 | */ |
||
153 | private $description; |
||
154 | |||
155 | /** |
||
156 | * Edge color. |
||
157 | * |
||
158 | * @var string |
||
159 | */ |
||
160 | private $edgeColor; |
||
161 | |||
162 | /** |
||
163 | * Edge width. |
||
164 | * |
||
165 | * @var integer |
||
166 | */ |
||
167 | private $edgeWidth = 1; |
||
168 | |||
169 | /** |
||
170 | * Enable mouse tracking. |
||
171 | * |
||
172 | * @var boolean |
||
173 | */ |
||
174 | private $enableMouseTracking = true; |
||
175 | |||
176 | /** |
||
177 | * Events. |
||
178 | * |
||
179 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsEvents |
||
180 | */ |
||
181 | private $events; |
||
182 | |||
183 | /** |
||
184 | * Expose element to a11y. |
||
185 | * |
||
186 | * @var boolean |
||
187 | * @since 5.0.12 |
||
188 | */ |
||
189 | private $exposeElementToA11y; |
||
190 | |||
191 | /** |
||
192 | * Find nearest point by. |
||
193 | * |
||
194 | * @var string |
||
195 | * @since 5.0.10 |
||
196 | */ |
||
197 | private $findNearestPointBy; |
||
198 | |||
199 | /** |
||
200 | * Get extremes from all. |
||
201 | * |
||
202 | * @var boolean |
||
203 | * @since 4.1.6 |
||
204 | */ |
||
205 | private $getExtremesFromAll = false; |
||
206 | |||
207 | /** |
||
208 | * Group padding. |
||
209 | * |
||
210 | * @var integer |
||
211 | */ |
||
212 | private $groupPadding = 0.2; |
||
213 | |||
214 | /** |
||
215 | * Group z padding. |
||
216 | * |
||
217 | * @var integer |
||
218 | * @since 4.0 |
||
219 | */ |
||
220 | private $groupZPadding = 1; |
||
221 | |||
222 | /** |
||
223 | * Grouping. |
||
224 | * |
||
225 | * @var boolean |
||
226 | * @since 2.3.0 |
||
227 | */ |
||
228 | private $grouping = true; |
||
229 | |||
230 | /** |
||
231 | * Keys. |
||
232 | * |
||
233 | * @var array |
||
234 | * @since 4.1.6 |
||
235 | */ |
||
236 | private $keys; |
||
237 | |||
238 | /** |
||
239 | * Linked to. |
||
240 | * |
||
241 | * @var string |
||
242 | * @since 3.0 |
||
243 | */ |
||
244 | private $linkedTo; |
||
245 | |||
246 | /** |
||
247 | * Max point width. |
||
248 | * |
||
249 | * @var integer |
||
250 | * @since 4.1.8 |
||
251 | */ |
||
252 | private $maxPointWidth; |
||
253 | |||
254 | /** |
||
255 | * Min point length. |
||
256 | * |
||
257 | * @var integer |
||
258 | */ |
||
259 | private $minPointLength = 0; |
||
260 | |||
261 | /** |
||
262 | * Point. |
||
263 | * |
||
264 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsPoint |
||
265 | */ |
||
266 | private $point; |
||
267 | |||
268 | /** |
||
269 | * Point description formatter. |
||
270 | * |
||
271 | * @var string |
||
272 | * @since 5.0.12 |
||
273 | */ |
||
274 | private $pointDescriptionFormatter; |
||
275 | |||
276 | /** |
||
277 | * Point interval. |
||
278 | * |
||
279 | * @var integer |
||
280 | */ |
||
281 | private $pointInterval = 1; |
||
282 | |||
283 | /** |
||
284 | * Point interval unit. |
||
285 | * |
||
286 | * @var string |
||
287 | * @since 4.1.0 |
||
288 | */ |
||
289 | private $pointIntervalUnit; |
||
290 | |||
291 | /** |
||
292 | * Point padding. |
||
293 | * |
||
294 | * @var integer |
||
295 | */ |
||
296 | private $pointPadding = 0.1; |
||
297 | |||
298 | /** |
||
299 | * Point placement. |
||
300 | * |
||
301 | * @var string|integer |
||
302 | * @since 2.3.0 |
||
303 | */ |
||
304 | private $pointPlacement; |
||
305 | |||
306 | /** |
||
307 | * Point range. |
||
308 | * |
||
309 | * @var integer |
||
310 | * @since 2.3 |
||
311 | */ |
||
312 | private $pointRange; |
||
313 | |||
314 | /** |
||
315 | * Point start. |
||
316 | * |
||
317 | * @var integer |
||
318 | */ |
||
319 | private $pointStart = 0; |
||
320 | |||
321 | /** |
||
322 | * Point width. |
||
323 | * |
||
324 | * @var integer |
||
325 | * @since 1.2.5 |
||
326 | */ |
||
327 | private $pointWidth; |
||
328 | |||
329 | /** |
||
330 | * Selected. |
||
331 | * |
||
332 | * @var boolean |
||
333 | * @since 1.2.0 |
||
334 | */ |
||
335 | private $selected = false; |
||
336 | |||
337 | /** |
||
338 | * Shadow. |
||
339 | * |
||
340 | * @var boolean|array |
||
341 | */ |
||
342 | private $shadow = false; |
||
343 | |||
344 | /** |
||
345 | * Show checkbox. |
||
346 | * |
||
347 | * @var boolean |
||
348 | * @since 1.2.0 |
||
349 | */ |
||
350 | private $showCheckbox = false; |
||
351 | |||
352 | /** |
||
353 | * Show in legend. |
||
354 | * |
||
355 | * @var boolean |
||
356 | */ |
||
357 | private $showInLegend = true; |
||
358 | |||
359 | /** |
||
360 | * Skip keyboard navigation. |
||
361 | * |
||
362 | * @var boolean |
||
363 | * @since 5.0.12 |
||
364 | */ |
||
365 | private $skipKeyboardNavigation; |
||
366 | |||
367 | /** |
||
368 | * States. |
||
369 | * |
||
370 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsStates |
||
371 | */ |
||
372 | private $states; |
||
373 | |||
374 | /** |
||
375 | * Sticky tracking. |
||
376 | * |
||
377 | * @var boolean |
||
378 | * @since 2.0 |
||
379 | */ |
||
380 | private $stickyTracking = true; |
||
381 | |||
382 | /** |
||
383 | * Tooltip. |
||
384 | * |
||
385 | * @var array |
||
386 | * @since 2.3 |
||
387 | */ |
||
388 | private $tooltip; |
||
389 | |||
390 | /** |
||
391 | * Turbo threshold. |
||
392 | * |
||
393 | * @var integer |
||
394 | * @since 2.2 |
||
395 | */ |
||
396 | private $turboThreshold = 1000; |
||
397 | |||
398 | /** |
||
399 | * Visible. |
||
400 | * |
||
401 | * @var boolean |
||
402 | */ |
||
403 | private $visible = true; |
||
404 | |||
405 | /** |
||
406 | * Zone axis. |
||
407 | * |
||
408 | * @var string |
||
409 | * @since 4.1.0 |
||
410 | */ |
||
411 | private $zoneAxis = "y"; |
||
412 | |||
413 | /** |
||
414 | * Zones. |
||
415 | * |
||
416 | * @var array |
||
417 | * @since 4.1.0 |
||
418 | */ |
||
419 | private $zones; |
||
420 | |||
421 | /** |
||
422 | * Constructor. |
||
423 | * |
||
424 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
425 | */ |
||
426 | public function __construct($ignoreDefaultValues = true) { |
||
427 | if (true === $ignoreDefaultValues) { |
||
428 | $this->clear(); |
||
429 | } |
||
430 | } |
||
431 | |||
432 | /** |
||
433 | * Clear. |
||
434 | * |
||
435 | * @return void |
||
436 | */ |
||
437 | public function clear() { |
||
438 | |||
439 | // Clear the allow point select. |
||
440 | $this->allowPointSelect = null; |
||
441 | |||
442 | // Clear the animation. |
||
443 | $this->animation = null; |
||
444 | |||
445 | // Clear the animation limit. |
||
446 | $this->animationLimit = null; |
||
447 | |||
448 | // Clear the border color. |
||
449 | $this->borderColor = null; |
||
450 | |||
451 | // Clear the border radius. |
||
452 | $this->borderRadius = null; |
||
453 | |||
454 | // Clear the border width. |
||
455 | $this->borderWidth = null; |
||
456 | |||
457 | // Clear the class name. |
||
458 | $this->className = null; |
||
459 | |||
460 | // Clear the color. |
||
461 | $this->color = null; |
||
462 | |||
463 | // Clear the color by point. |
||
464 | $this->colorByPoint = null; |
||
465 | |||
466 | // Clear the color index. |
||
467 | $this->colorIndex = null; |
||
468 | |||
469 | // Clear the colors. |
||
470 | $this->colors = null; |
||
0 ignored issues
–
show
|
|||
471 | |||
472 | // Clear the crisp. |
||
473 | $this->crisp = null; |
||
474 | |||
475 | // Clear the crop threshold. |
||
476 | $this->cropThreshold = null; |
||
477 | |||
478 | // Clear the cursor. |
||
479 | $this->cursor = null; |
||
480 | |||
481 | // Clear the data labels. |
||
482 | $this->dataLabels = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $dataLabels .
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.. ![]() |
|||
483 | |||
484 | // Clear the depth. |
||
485 | $this->depth = null; |
||
486 | |||
487 | // Clear the description. |
||
488 | $this->description = null; |
||
489 | |||
490 | // Clear the edge color. |
||
491 | $this->edgeColor = null; |
||
492 | |||
493 | // Clear the edge width. |
||
494 | $this->edgeWidth = null; |
||
495 | |||
496 | // Clear the enable mouse tracking. |
||
497 | $this->enableMouseTracking = null; |
||
498 | |||
499 | // Clear the events. |
||
500 | if (null !== $this->events) { |
||
501 | $this->events->clear(); |
||
502 | } |
||
503 | |||
504 | // Clear the expose element to a11y. |
||
505 | $this->exposeElementToA11y = null; |
||
506 | |||
507 | // Clear the find nearest point by. |
||
508 | $this->findNearestPointBy = null; |
||
509 | |||
510 | // Clear the get extremes from all. |
||
511 | $this->getExtremesFromAll = null; |
||
512 | |||
513 | // Clear the group padding. |
||
514 | $this->groupPadding = null; |
||
515 | |||
516 | // Clear the group z padding. |
||
517 | $this->groupZPadding = null; |
||
518 | |||
519 | // Clear the grouping. |
||
520 | $this->grouping = null; |
||
521 | |||
522 | // Clear the keys. |
||
523 | $this->keys = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $keys .
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.. ![]() |
|||
524 | |||
525 | // Clear the linked to. |
||
526 | $this->linkedTo = null; |
||
527 | |||
528 | // Clear the max point width. |
||
529 | $this->maxPointWidth = null; |
||
530 | |||
531 | // Clear the min point length. |
||
532 | $this->minPointLength = null; |
||
533 | |||
534 | // Clear the point. |
||
535 | if (null !== $this->point) { |
||
536 | $this->point->clear(); |
||
537 | } |
||
538 | |||
539 | // Clear the point description formatter. |
||
540 | $this->pointDescriptionFormatter = null; |
||
541 | |||
542 | // Clear the point interval. |
||
543 | $this->pointInterval = null; |
||
544 | |||
545 | // Clear the point interval unit. |
||
546 | $this->pointIntervalUnit = null; |
||
547 | |||
548 | // Clear the point padding. |
||
549 | $this->pointPadding = null; |
||
550 | |||
551 | // Clear the point placement. |
||
552 | $this->pointPlacement = null; |
||
553 | |||
554 | // Clear the point range. |
||
555 | $this->pointRange = null; |
||
556 | |||
557 | // Clear the point start. |
||
558 | $this->pointStart = null; |
||
559 | |||
560 | // Clear the point width. |
||
561 | $this->pointWidth = null; |
||
562 | |||
563 | // Clear the selected. |
||
564 | $this->selected = null; |
||
565 | |||
566 | // Clear the shadow. |
||
567 | $this->shadow = null; |
||
568 | |||
569 | // Clear the show checkbox. |
||
570 | $this->showCheckbox = null; |
||
571 | |||
572 | // Clear the show in legend. |
||
573 | $this->showInLegend = null; |
||
574 | |||
575 | // Clear the skip keyboard navigation. |
||
576 | $this->skipKeyboardNavigation = null; |
||
577 | |||
578 | // Clear the states. |
||
579 | if (null !== $this->states) { |
||
580 | $this->states->clear(); |
||
581 | } |
||
582 | |||
583 | // Clear the sticky tracking. |
||
584 | $this->stickyTracking = null; |
||
585 | |||
586 | // Clear the tooltip. |
||
587 | $this->tooltip = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $tooltip .
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.. ![]() |
|||
588 | |||
589 | // Clear the turbo threshold. |
||
590 | $this->turboThreshold = null; |
||
591 | |||
592 | // Clear the visible. |
||
593 | $this->visible = null; |
||
594 | |||
595 | // Clear the zone axis. |
||
596 | $this->zoneAxis = null; |
||
597 | |||
598 | // Clear the zones. |
||
599 | $this->zones = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $zones .
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.. ![]() |
|||
600 | } |
||
601 | |||
602 | /** |
||
603 | * Get the allow point select. |
||
604 | * |
||
605 | * @return boolean Returns the allow point select. |
||
606 | */ |
||
607 | public function getAllowPointSelect() { |
||
608 | return $this->allowPointSelect; |
||
609 | } |
||
610 | |||
611 | /** |
||
612 | * Get the animation. |
||
613 | * |
||
614 | * @return boolean Returns the animation. |
||
615 | */ |
||
616 | public function getAnimation() { |
||
617 | return $this->animation; |
||
618 | } |
||
619 | |||
620 | /** |
||
621 | * Get the animation limit. |
||
622 | * |
||
623 | * @return integer Returns the animation limit. |
||
624 | */ |
||
625 | public function getAnimationLimit() { |
||
626 | return $this->animationLimit; |
||
627 | } |
||
628 | |||
629 | /** |
||
630 | * Get the border color. |
||
631 | * |
||
632 | * @return string Returns the border color. |
||
633 | */ |
||
634 | public function getBorderColor() { |
||
635 | return $this->borderColor; |
||
636 | } |
||
637 | |||
638 | /** |
||
639 | * Get the border radius. |
||
640 | * |
||
641 | * @return integer Returns the border radius. |
||
642 | */ |
||
643 | public function getBorderRadius() { |
||
644 | return $this->borderRadius; |
||
645 | } |
||
646 | |||
647 | /** |
||
648 | * Get the border width. |
||
649 | * |
||
650 | * @return integer Returns the border width. |
||
651 | */ |
||
652 | public function getBorderWidth() { |
||
653 | return $this->borderWidth; |
||
654 | } |
||
655 | |||
656 | /** |
||
657 | * Get the class name. |
||
658 | * |
||
659 | * @return string Returns the class name. |
||
660 | */ |
||
661 | public function getClassName() { |
||
662 | return $this->className; |
||
663 | } |
||
664 | |||
665 | /** |
||
666 | * Get the color. |
||
667 | * |
||
668 | * @return string Returns the color. |
||
669 | */ |
||
670 | public function getColor() { |
||
671 | return $this->color; |
||
672 | } |
||
673 | |||
674 | /** |
||
675 | * Get the color by point. |
||
676 | * |
||
677 | * @return boolean Returns the color by point. |
||
678 | */ |
||
679 | public function getColorByPoint() { |
||
680 | return $this->colorByPoint; |
||
681 | } |
||
682 | |||
683 | /** |
||
684 | * Get the color index. |
||
685 | * |
||
686 | * @return integer Returns the color index. |
||
687 | */ |
||
688 | public function getColorIndex() { |
||
689 | return $this->colorIndex; |
||
690 | } |
||
691 | |||
692 | /** |
||
693 | * Get the colors. |
||
694 | * |
||
695 | * @return array Returns the colors. |
||
696 | */ |
||
697 | public function getColors() { |
||
698 | return $this->colors; |
||
699 | } |
||
700 | |||
701 | /** |
||
702 | * Get the crisp. |
||
703 | * |
||
704 | * @return boolean Returns the crisp. |
||
705 | */ |
||
706 | public function getCrisp() { |
||
707 | return $this->crisp; |
||
708 | } |
||
709 | |||
710 | /** |
||
711 | * Get the crop threshold. |
||
712 | * |
||
713 | * @return integer Returns the crop threshold. |
||
714 | */ |
||
715 | public function getCropThreshold() { |
||
716 | return $this->cropThreshold; |
||
717 | } |
||
718 | |||
719 | /** |
||
720 | * Get the cursor. |
||
721 | * |
||
722 | * @return string Returns the cursor. |
||
723 | */ |
||
724 | public function getCursor() { |
||
725 | return $this->cursor; |
||
726 | } |
||
727 | |||
728 | /** |
||
729 | * Get the data labels. |
||
730 | * |
||
731 | * @return array Returns the data labels. |
||
732 | */ |
||
733 | public function getDataLabels() { |
||
734 | return $this->dataLabels; |
||
735 | } |
||
736 | |||
737 | /** |
||
738 | * Get the depth. |
||
739 | * |
||
740 | * @return integer Returns the depth. |
||
741 | */ |
||
742 | public function getDepth() { |
||
743 | return $this->depth; |
||
744 | } |
||
745 | |||
746 | /** |
||
747 | * Get the description. |
||
748 | * |
||
749 | * @return string Returns the description. |
||
750 | */ |
||
751 | public function getDescription() { |
||
752 | return $this->description; |
||
753 | } |
||
754 | |||
755 | /** |
||
756 | * Get the edge color. |
||
757 | * |
||
758 | * @return string Returns the edge color. |
||
759 | */ |
||
760 | public function getEdgeColor() { |
||
761 | return $this->edgeColor; |
||
762 | } |
||
763 | |||
764 | /** |
||
765 | * Get the edge width. |
||
766 | * |
||
767 | * @return integer Returns the edge width. |
||
768 | */ |
||
769 | public function getEdgeWidth() { |
||
770 | return $this->edgeWidth; |
||
771 | } |
||
772 | |||
773 | /** |
||
774 | * Get the enable mouse tracking. |
||
775 | * |
||
776 | * @return boolean Returns the enable mouse tracking. |
||
777 | */ |
||
778 | public function getEnableMouseTracking() { |
||
779 | return $this->enableMouseTracking; |
||
780 | } |
||
781 | |||
782 | /** |
||
783 | * Get the events. |
||
784 | * |
||
785 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsEvents Returns the events. |
||
786 | */ |
||
787 | public function getEvents() { |
||
788 | return $this->events; |
||
789 | } |
||
790 | |||
791 | /** |
||
792 | * Get the expose element to a11y. |
||
793 | * |
||
794 | * @return boolean Returns the expose element to a11y. |
||
795 | */ |
||
796 | public function getExposeElementToA11y() { |
||
797 | return $this->exposeElementToA11y; |
||
798 | } |
||
799 | |||
800 | /** |
||
801 | * Get the find nearest point by. |
||
802 | * |
||
803 | * @return string Returns the find nearest point by. |
||
804 | */ |
||
805 | public function getFindNearestPointBy() { |
||
806 | return $this->findNearestPointBy; |
||
807 | } |
||
808 | |||
809 | /** |
||
810 | * Get the get extremes from all. |
||
811 | * |
||
812 | * @return boolean Returns the get extremes from all. |
||
813 | */ |
||
814 | public function getGetExtremesFromAll() { |
||
815 | return $this->getExtremesFromAll; |
||
816 | } |
||
817 | |||
818 | /** |
||
819 | * Get the group padding. |
||
820 | * |
||
821 | * @return integer Returns the group padding. |
||
822 | */ |
||
823 | public function getGroupPadding() { |
||
824 | return $this->groupPadding; |
||
825 | } |
||
826 | |||
827 | /** |
||
828 | * Get the group z padding. |
||
829 | * |
||
830 | * @return integer Returns the group z padding. |
||
831 | */ |
||
832 | public function getGroupZPadding() { |
||
833 | return $this->groupZPadding; |
||
834 | } |
||
835 | |||
836 | /** |
||
837 | * Get the grouping. |
||
838 | * |
||
839 | * @return boolean Returns the grouping. |
||
840 | */ |
||
841 | public function getGrouping() { |
||
842 | return $this->grouping; |
||
843 | } |
||
844 | |||
845 | /** |
||
846 | * Get the keys. |
||
847 | * |
||
848 | * @return array Returns the keys. |
||
849 | */ |
||
850 | public function getKeys() { |
||
851 | return $this->keys; |
||
852 | } |
||
853 | |||
854 | /** |
||
855 | * Get the linked to. |
||
856 | * |
||
857 | * @return string Returns the linked to. |
||
858 | */ |
||
859 | public function getLinkedTo() { |
||
860 | return $this->linkedTo; |
||
861 | } |
||
862 | |||
863 | /** |
||
864 | * Get the max point width. |
||
865 | * |
||
866 | * @return integer Returns the max point width. |
||
867 | */ |
||
868 | public function getMaxPointWidth() { |
||
869 | return $this->maxPointWidth; |
||
870 | } |
||
871 | |||
872 | /** |
||
873 | * Get the min point length. |
||
874 | * |
||
875 | * @return integer Returns the min point length. |
||
876 | */ |
||
877 | public function getMinPointLength() { |
||
878 | return $this->minPointLength; |
||
879 | } |
||
880 | |||
881 | /** |
||
882 | * Get the point. |
||
883 | * |
||
884 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsPoint Returns the point. |
||
885 | */ |
||
886 | public function getPoint() { |
||
887 | return $this->point; |
||
888 | } |
||
889 | |||
890 | /** |
||
891 | * Get the point description formatter. |
||
892 | * |
||
893 | * @return string Returns the point description formatter. |
||
894 | */ |
||
895 | public function getPointDescriptionFormatter() { |
||
896 | return $this->pointDescriptionFormatter; |
||
897 | } |
||
898 | |||
899 | /** |
||
900 | * Get the point interval. |
||
901 | * |
||
902 | * @return integer Returns the point interval. |
||
903 | */ |
||
904 | public function getPointInterval() { |
||
905 | return $this->pointInterval; |
||
906 | } |
||
907 | |||
908 | /** |
||
909 | * Get the point interval unit. |
||
910 | * |
||
911 | * @return string Returns the point interval unit. |
||
912 | */ |
||
913 | public function getPointIntervalUnit() { |
||
914 | return $this->pointIntervalUnit; |
||
915 | } |
||
916 | |||
917 | /** |
||
918 | * Get the point padding. |
||
919 | * |
||
920 | * @return integer Returns the point padding. |
||
921 | */ |
||
922 | public function getPointPadding() { |
||
923 | return $this->pointPadding; |
||
924 | } |
||
925 | |||
926 | /** |
||
927 | * Get the point placement. |
||
928 | * |
||
929 | * @return string|integer Returns the point placement. |
||
930 | */ |
||
931 | public function getPointPlacement() { |
||
932 | return $this->pointPlacement; |
||
933 | } |
||
934 | |||
935 | /** |
||
936 | * Get the point range. |
||
937 | * |
||
938 | * @return integer Returns the point range. |
||
939 | */ |
||
940 | public function getPointRange() { |
||
941 | return $this->pointRange; |
||
942 | } |
||
943 | |||
944 | /** |
||
945 | * Get the point start. |
||
946 | * |
||
947 | * @return integer Returns the point start. |
||
948 | */ |
||
949 | public function getPointStart() { |
||
950 | return $this->pointStart; |
||
951 | } |
||
952 | |||
953 | /** |
||
954 | * Get the point width. |
||
955 | * |
||
956 | * @return integer Returns the point width. |
||
957 | */ |
||
958 | public function getPointWidth() { |
||
959 | return $this->pointWidth; |
||
960 | } |
||
961 | |||
962 | /** |
||
963 | * Get the selected. |
||
964 | * |
||
965 | * @return boolean Returns the selected. |
||
966 | */ |
||
967 | public function getSelected() { |
||
968 | return $this->selected; |
||
969 | } |
||
970 | |||
971 | /** |
||
972 | * Get the shadow. |
||
973 | * |
||
974 | * @return boolean|array Returns the shadow. |
||
975 | */ |
||
976 | public function getShadow() { |
||
977 | return $this->shadow; |
||
978 | } |
||
979 | |||
980 | /** |
||
981 | * Get the show checkbox. |
||
982 | * |
||
983 | * @return boolean Returns the show checkbox. |
||
984 | */ |
||
985 | public function getShowCheckbox() { |
||
986 | return $this->showCheckbox; |
||
987 | } |
||
988 | |||
989 | /** |
||
990 | * Get the show in legend. |
||
991 | * |
||
992 | * @return boolean Returns the show in legend. |
||
993 | */ |
||
994 | public function getShowInLegend() { |
||
995 | return $this->showInLegend; |
||
996 | } |
||
997 | |||
998 | /** |
||
999 | * Get the skip keyboard navigation. |
||
1000 | * |
||
1001 | * @return boolean Returns the skip keyboard navigation. |
||
1002 | */ |
||
1003 | public function getSkipKeyboardNavigation() { |
||
1004 | return $this->skipKeyboardNavigation; |
||
1005 | } |
||
1006 | |||
1007 | /** |
||
1008 | * Get the states. |
||
1009 | * |
||
1010 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsStates Returns the states. |
||
1011 | */ |
||
1012 | public function getStates() { |
||
1013 | return $this->states; |
||
1014 | } |
||
1015 | |||
1016 | /** |
||
1017 | * Get the sticky tracking. |
||
1018 | * |
||
1019 | * @return boolean Returns the sticky tracking. |
||
1020 | */ |
||
1021 | public function getStickyTracking() { |
||
1022 | return $this->stickyTracking; |
||
1023 | } |
||
1024 | |||
1025 | /** |
||
1026 | * Get the tooltip. |
||
1027 | * |
||
1028 | * @return array Returns the tooltip. |
||
1029 | */ |
||
1030 | public function getTooltip() { |
||
1031 | return $this->tooltip; |
||
1032 | } |
||
1033 | |||
1034 | /** |
||
1035 | * Get the turbo threshold. |
||
1036 | * |
||
1037 | * @return integer Returns the turbo threshold. |
||
1038 | */ |
||
1039 | public function getTurboThreshold() { |
||
1040 | return $this->turboThreshold; |
||
1041 | } |
||
1042 | |||
1043 | /** |
||
1044 | * Get the visible. |
||
1045 | * |
||
1046 | * @return boolean Returns the visible. |
||
1047 | */ |
||
1048 | public function getVisible() { |
||
1049 | return $this->visible; |
||
1050 | } |
||
1051 | |||
1052 | /** |
||
1053 | * Get the zone axis. |
||
1054 | * |
||
1055 | * @return string Returns the zone axis. |
||
1056 | */ |
||
1057 | public function getZoneAxis() { |
||
1058 | return $this->zoneAxis; |
||
1059 | } |
||
1060 | |||
1061 | /** |
||
1062 | * Get the zones. |
||
1063 | * |
||
1064 | * @return array Returns the zones. |
||
1065 | */ |
||
1066 | public function getZones() { |
||
1067 | return $this->zones; |
||
1068 | } |
||
1069 | |||
1070 | /** |
||
1071 | * Serialize this instance. |
||
1072 | * |
||
1073 | * @return array Returns an array representing this instance. |
||
1074 | */ |
||
1075 | public function jsonSerialize() { |
||
1076 | return $this->toArray(); |
||
1077 | } |
||
1078 | |||
1079 | /** |
||
1080 | * Create a new events. |
||
1081 | * |
||
1082 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsEvents Returns the events. |
||
1083 | */ |
||
1084 | public function newEvents() { |
||
1085 | $this->events = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsEvents(); |
||
1086 | return $this->events; |
||
1087 | } |
||
1088 | |||
1089 | /** |
||
1090 | * Create a new point. |
||
1091 | * |
||
1092 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsPoint Returns the point. |
||
1093 | */ |
||
1094 | public function newPoint() { |
||
1095 | $this->point = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsPoint(); |
||
1096 | return $this->point; |
||
1097 | } |
||
1098 | |||
1099 | /** |
||
1100 | * Create a new states. |
||
1101 | * |
||
1102 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsStates Returns the states. |
||
1103 | */ |
||
1104 | public function newStates() { |
||
1105 | $this->states = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsStates(); |
||
1106 | return $this->states; |
||
1107 | } |
||
1108 | |||
1109 | /** |
||
1110 | * Set the allow point select. |
||
1111 | * |
||
1112 | * @param boolean $allowPointSelect The allow point select. |
||
1113 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1114 | */ |
||
1115 | public function setAllowPointSelect($allowPointSelect) { |
||
1116 | $this->allowPointSelect = $allowPointSelect; |
||
1117 | return $this; |
||
1118 | } |
||
1119 | |||
1120 | /** |
||
1121 | * Set the animation. |
||
1122 | * |
||
1123 | * @param boolean $animation The animation. |
||
1124 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1125 | */ |
||
1126 | public function setAnimation($animation) { |
||
1127 | $this->animation = $animation; |
||
1128 | return $this; |
||
1129 | } |
||
1130 | |||
1131 | /** |
||
1132 | * Set the animation limit. |
||
1133 | * |
||
1134 | * @param integer $animationLimit The animation limit. |
||
1135 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1136 | */ |
||
1137 | public function setAnimationLimit($animationLimit) { |
||
1138 | $this->animationLimit = $animationLimit; |
||
1139 | return $this; |
||
1140 | } |
||
1141 | |||
1142 | /** |
||
1143 | * Set the border color. |
||
1144 | * |
||
1145 | * @param string $borderColor The border color. |
||
1146 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1147 | */ |
||
1148 | public function setBorderColor($borderColor) { |
||
1149 | $this->borderColor = $borderColor; |
||
1150 | return $this; |
||
1151 | } |
||
1152 | |||
1153 | /** |
||
1154 | * Set the border radius. |
||
1155 | * |
||
1156 | * @param integer $borderRadius The border radius. |
||
1157 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1158 | */ |
||
1159 | public function setBorderRadius($borderRadius) { |
||
1160 | $this->borderRadius = $borderRadius; |
||
1161 | return $this; |
||
1162 | } |
||
1163 | |||
1164 | /** |
||
1165 | * Set the border width. |
||
1166 | * |
||
1167 | * @param integer $borderWidth The border width. |
||
1168 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1169 | */ |
||
1170 | public function setBorderWidth($borderWidth) { |
||
1171 | $this->borderWidth = $borderWidth; |
||
1172 | return $this; |
||
1173 | } |
||
1174 | |||
1175 | /** |
||
1176 | * Set the class name. |
||
1177 | * |
||
1178 | * @param string $className The class name. |
||
1179 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1180 | */ |
||
1181 | public function setClassName($className) { |
||
1182 | $this->className = $className; |
||
1183 | return $this; |
||
1184 | } |
||
1185 | |||
1186 | /** |
||
1187 | * Set the color. |
||
1188 | * |
||
1189 | * @param string $color The color. |
||
1190 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1191 | */ |
||
1192 | public function setColor($color) { |
||
1193 | $this->color = $color; |
||
1194 | return $this; |
||
1195 | } |
||
1196 | |||
1197 | /** |
||
1198 | * Set the color by point. |
||
1199 | * |
||
1200 | * @param boolean $colorByPoint The color by point. |
||
1201 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1202 | */ |
||
1203 | public function setColorByPoint($colorByPoint) { |
||
1204 | $this->colorByPoint = $colorByPoint; |
||
1205 | return $this; |
||
1206 | } |
||
1207 | |||
1208 | /** |
||
1209 | * Set the color index. |
||
1210 | * |
||
1211 | * @param integer $colorIndex The color index. |
||
1212 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1213 | */ |
||
1214 | public function setColorIndex($colorIndex) { |
||
1215 | $this->colorIndex = $colorIndex; |
||
1216 | return $this; |
||
1217 | } |
||
1218 | |||
1219 | /** |
||
1220 | * Set the colors. |
||
1221 | * |
||
1222 | * @param array $colors The colors. |
||
1223 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1224 | */ |
||
1225 | public function setColors(array $colors = null) { |
||
1226 | $this->colors = $colors; |
||
0 ignored issues
–
show
It seems like
$colors can be null . However, the property $colors is declared as array . Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter ![]() |
|||
1227 | return $this; |
||
1228 | } |
||
1229 | |||
1230 | /** |
||
1231 | * Set the crisp. |
||
1232 | * |
||
1233 | * @param boolean $crisp The crisp. |
||
1234 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1235 | */ |
||
1236 | public function setCrisp($crisp) { |
||
1237 | $this->crisp = $crisp; |
||
1238 | return $this; |
||
1239 | } |
||
1240 | |||
1241 | /** |
||
1242 | * Set the crop threshold. |
||
1243 | * |
||
1244 | * @param integer $cropThreshold The crop threshold. |
||
1245 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1246 | */ |
||
1247 | public function setCropThreshold($cropThreshold) { |
||
1248 | $this->cropThreshold = $cropThreshold; |
||
1249 | return $this; |
||
1250 | } |
||
1251 | |||
1252 | /** |
||
1253 | * Set the cursor. |
||
1254 | * |
||
1255 | * @param string $cursor The cursor. |
||
1256 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1257 | */ |
||
1258 | public function setCursor($cursor) { |
||
1259 | switch ($cursor) { |
||
1260 | case null: |
||
1261 | case "crosshair": |
||
1262 | case "default": |
||
1263 | case "help": |
||
1264 | case "none": |
||
1265 | case "pointer": |
||
1266 | $this->cursor = $cursor; |
||
1267 | break; |
||
1268 | } |
||
1269 | return $this; |
||
1270 | } |
||
1271 | |||
1272 | /** |
||
1273 | * Set the data labels. |
||
1274 | * |
||
1275 | * @param array $dataLabels The data labels. |
||
1276 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1277 | */ |
||
1278 | public function setDataLabels(array $dataLabels = null) { |
||
1279 | $this->dataLabels = $dataLabels; |
||
0 ignored issues
–
show
It seems like
$dataLabels can be null . However, the property $dataLabels is declared as array . Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter ![]() |
|||
1280 | return $this; |
||
1281 | } |
||
1282 | |||
1283 | /** |
||
1284 | * Set the depth. |
||
1285 | * |
||
1286 | * @param integer $depth The depth. |
||
1287 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1288 | */ |
||
1289 | public function setDepth($depth) { |
||
1290 | $this->depth = $depth; |
||
1291 | return $this; |
||
1292 | } |
||
1293 | |||
1294 | /** |
||
1295 | * Set the description. |
||
1296 | * |
||
1297 | * @param string $description The description. |
||
1298 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1299 | */ |
||
1300 | public function setDescription($description) { |
||
1301 | $this->description = $description; |
||
1302 | return $this; |
||
1303 | } |
||
1304 | |||
1305 | /** |
||
1306 | * Set the edge color. |
||
1307 | * |
||
1308 | * @param string $edgeColor The edge color. |
||
1309 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1310 | */ |
||
1311 | public function setEdgeColor($edgeColor) { |
||
1312 | $this->edgeColor = $edgeColor; |
||
1313 | return $this; |
||
1314 | } |
||
1315 | |||
1316 | /** |
||
1317 | * Set the edge width. |
||
1318 | * |
||
1319 | * @param integer $edgeWidth The edge width. |
||
1320 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1321 | */ |
||
1322 | public function setEdgeWidth($edgeWidth) { |
||
1323 | $this->edgeWidth = $edgeWidth; |
||
1324 | return $this; |
||
1325 | } |
||
1326 | |||
1327 | /** |
||
1328 | * Set the enable mouse tracking. |
||
1329 | * |
||
1330 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1331 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1332 | */ |
||
1333 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1334 | $this->enableMouseTracking = $enableMouseTracking; |
||
1335 | return $this; |
||
1336 | } |
||
1337 | |||
1338 | /** |
||
1339 | * Set the events. |
||
1340 | * |
||
1341 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsEvents $events The events. |
||
1342 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1343 | */ |
||
1344 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsEvents $events = null) { |
||
1345 | $this->events = $events; |
||
1346 | return $this; |
||
1347 | } |
||
1348 | |||
1349 | /** |
||
1350 | * Set the expose element to a11y. |
||
1351 | * |
||
1352 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1353 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1354 | */ |
||
1355 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1356 | $this->exposeElementToA11y = $exposeElementToA11y; |
||
1357 | return $this; |
||
1358 | } |
||
1359 | |||
1360 | /** |
||
1361 | * Set the find nearest point by. |
||
1362 | * |
||
1363 | * @param string $findNearestPointBy The find nearest point by. |
||
1364 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1365 | */ |
||
1366 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1367 | switch ($findNearestPointBy) { |
||
1368 | case "x": |
||
1369 | case "xy": |
||
1370 | $this->findNearestPointBy = $findNearestPointBy; |
||
1371 | break; |
||
1372 | } |
||
1373 | return $this; |
||
1374 | } |
||
1375 | |||
1376 | /** |
||
1377 | * Set the get extremes from all. |
||
1378 | * |
||
1379 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1380 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1381 | */ |
||
1382 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1383 | $this->getExtremesFromAll = $getExtremesFromAll; |
||
1384 | return $this; |
||
1385 | } |
||
1386 | |||
1387 | /** |
||
1388 | * Set the group padding. |
||
1389 | * |
||
1390 | * @param integer $groupPadding The group padding. |
||
1391 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1392 | */ |
||
1393 | public function setGroupPadding($groupPadding) { |
||
1394 | $this->groupPadding = $groupPadding; |
||
1395 | return $this; |
||
1396 | } |
||
1397 | |||
1398 | /** |
||
1399 | * Set the group z padding. |
||
1400 | * |
||
1401 | * @param integer $groupZPadding The group z padding. |
||
1402 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1403 | */ |
||
1404 | public function setGroupZPadding($groupZPadding) { |
||
1405 | $this->groupZPadding = $groupZPadding; |
||
1406 | return $this; |
||
1407 | } |
||
1408 | |||
1409 | /** |
||
1410 | * Set the grouping. |
||
1411 | * |
||
1412 | * @param boolean $grouping The grouping. |
||
1413 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1414 | */ |
||
1415 | public function setGrouping($grouping) { |
||
1416 | $this->grouping = $grouping; |
||
1417 | return $this; |
||
1418 | } |
||
1419 | |||
1420 | /** |
||
1421 | * Set the keys. |
||
1422 | * |
||
1423 | * @param array $keys The keys. |
||
1424 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1425 | */ |
||
1426 | public function setKeys(array $keys = null) { |
||
1427 | $this->keys = $keys; |
||
0 ignored issues
–
show
It seems like
$keys can be null . However, the property $keys is declared as array . Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter ![]() |
|||
1428 | return $this; |
||
1429 | } |
||
1430 | |||
1431 | /** |
||
1432 | * Set the linked to. |
||
1433 | * |
||
1434 | * @param string $linkedTo The linked to. |
||
1435 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1436 | */ |
||
1437 | public function setLinkedTo($linkedTo) { |
||
1438 | $this->linkedTo = $linkedTo; |
||
1439 | return $this; |
||
1440 | } |
||
1441 | |||
1442 | /** |
||
1443 | * Set the max point width. |
||
1444 | * |
||
1445 | * @param integer $maxPointWidth The max point width. |
||
1446 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1447 | */ |
||
1448 | public function setMaxPointWidth($maxPointWidth) { |
||
1449 | $this->maxPointWidth = $maxPointWidth; |
||
1450 | return $this; |
||
1451 | } |
||
1452 | |||
1453 | /** |
||
1454 | * Set the min point length. |
||
1455 | * |
||
1456 | * @param integer $minPointLength The min point length. |
||
1457 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1458 | */ |
||
1459 | public function setMinPointLength($minPointLength) { |
||
1460 | $this->minPointLength = $minPointLength; |
||
1461 | return $this; |
||
1462 | } |
||
1463 | |||
1464 | /** |
||
1465 | * Set the point. |
||
1466 | * |
||
1467 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsPoint $point The point. |
||
1468 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1469 | */ |
||
1470 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsPoint $point = null) { |
||
1471 | $this->point = $point; |
||
1472 | return $this; |
||
1473 | } |
||
1474 | |||
1475 | /** |
||
1476 | * Set the point description formatter. |
||
1477 | * |
||
1478 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1479 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1480 | */ |
||
1481 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1482 | $this->pointDescriptionFormatter = $pointDescriptionFormatter; |
||
1483 | return $this; |
||
1484 | } |
||
1485 | |||
1486 | /** |
||
1487 | * Set the point interval. |
||
1488 | * |
||
1489 | * @param integer $pointInterval The point interval. |
||
1490 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1491 | */ |
||
1492 | public function setPointInterval($pointInterval) { |
||
1493 | $this->pointInterval = $pointInterval; |
||
1494 | return $this; |
||
1495 | } |
||
1496 | |||
1497 | /** |
||
1498 | * Set the point interval unit. |
||
1499 | * |
||
1500 | * @param string $pointIntervalUnit The point interval unit. |
||
1501 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1502 | */ |
||
1503 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
1504 | switch ($pointIntervalUnit) { |
||
1505 | case null: |
||
1506 | case "day": |
||
1507 | case "month": |
||
1508 | case "year": |
||
1509 | $this->pointIntervalUnit = $pointIntervalUnit; |
||
1510 | break; |
||
1511 | } |
||
1512 | return $this; |
||
1513 | } |
||
1514 | |||
1515 | /** |
||
1516 | * Set the point padding. |
||
1517 | * |
||
1518 | * @param integer $pointPadding The point padding. |
||
1519 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1520 | */ |
||
1521 | public function setPointPadding($pointPadding) { |
||
1522 | $this->pointPadding = $pointPadding; |
||
1523 | return $this; |
||
1524 | } |
||
1525 | |||
1526 | /** |
||
1527 | * Set the point placement. |
||
1528 | * |
||
1529 | * @param string|integer $pointPlacement The point placement. |
||
1530 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1531 | */ |
||
1532 | public function setPointPlacement($pointPlacement) { |
||
1533 | switch ($pointPlacement) { |
||
1534 | case null: |
||
1535 | case "between": |
||
1536 | case "on": |
||
1537 | $this->pointPlacement = $pointPlacement; |
||
1538 | break; |
||
1539 | } |
||
1540 | return $this; |
||
1541 | } |
||
1542 | |||
1543 | /** |
||
1544 | * Set the point range. |
||
1545 | * |
||
1546 | * @param integer $pointRange The point range. |
||
1547 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1548 | */ |
||
1549 | public function setPointRange($pointRange) { |
||
1550 | $this->pointRange = $pointRange; |
||
1551 | return $this; |
||
1552 | } |
||
1553 | |||
1554 | /** |
||
1555 | * Set the point start. |
||
1556 | * |
||
1557 | * @param integer $pointStart The point start. |
||
1558 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1559 | */ |
||
1560 | public function setPointStart($pointStart) { |
||
1561 | $this->pointStart = $pointStart; |
||
1562 | return $this; |
||
1563 | } |
||
1564 | |||
1565 | /** |
||
1566 | * Set the point width. |
||
1567 | * |
||
1568 | * @param integer $pointWidth The point width. |
||
1569 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1570 | */ |
||
1571 | public function setPointWidth($pointWidth) { |
||
1572 | $this->pointWidth = $pointWidth; |
||
1573 | return $this; |
||
1574 | } |
||
1575 | |||
1576 | /** |
||
1577 | * Set the selected. |
||
1578 | * |
||
1579 | * @param boolean $selected The selected. |
||
1580 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1581 | */ |
||
1582 | public function setSelected($selected) { |
||
1583 | $this->selected = $selected; |
||
1584 | return $this; |
||
1585 | } |
||
1586 | |||
1587 | /** |
||
1588 | * Set the shadow. |
||
1589 | * |
||
1590 | * @param boolean|array $shadow The shadow. |
||
1591 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1592 | */ |
||
1593 | public function setShadow($shadow) { |
||
1594 | $this->shadow = $shadow; |
||
1595 | return $this; |
||
1596 | } |
||
1597 | |||
1598 | /** |
||
1599 | * Set the show checkbox. |
||
1600 | * |
||
1601 | * @param boolean $showCheckbox The show checkbox. |
||
1602 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1603 | */ |
||
1604 | public function setShowCheckbox($showCheckbox) { |
||
1605 | $this->showCheckbox = $showCheckbox; |
||
1606 | return $this; |
||
1607 | } |
||
1608 | |||
1609 | /** |
||
1610 | * Set the show in legend. |
||
1611 | * |
||
1612 | * @param boolean $showInLegend The show in legend. |
||
1613 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1614 | */ |
||
1615 | public function setShowInLegend($showInLegend) { |
||
1616 | $this->showInLegend = $showInLegend; |
||
1617 | return $this; |
||
1618 | } |
||
1619 | |||
1620 | /** |
||
1621 | * Set the skip keyboard navigation. |
||
1622 | * |
||
1623 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1624 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1625 | */ |
||
1626 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1627 | $this->skipKeyboardNavigation = $skipKeyboardNavigation; |
||
1628 | return $this; |
||
1629 | } |
||
1630 | |||
1631 | /** |
||
1632 | * Set the states. |
||
1633 | * |
||
1634 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsStates $states The states. |
||
1635 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1636 | */ |
||
1637 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Columnrange\HighchartsStates $states = null) { |
||
1638 | $this->states = $states; |
||
1639 | return $this; |
||
1640 | } |
||
1641 | |||
1642 | /** |
||
1643 | * Set the sticky tracking. |
||
1644 | * |
||
1645 | * @param boolean $stickyTracking The sticky tracking. |
||
1646 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1647 | */ |
||
1648 | public function setStickyTracking($stickyTracking) { |
||
1649 | $this->stickyTracking = $stickyTracking; |
||
1650 | return $this; |
||
1651 | } |
||
1652 | |||
1653 | /** |
||
1654 | * Set the tooltip. |
||
1655 | * |
||
1656 | * @param array $tooltip The tooltip. |
||
1657 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1658 | */ |
||
1659 | public function setTooltip(array $tooltip = null) { |
||
1660 | $this->tooltip = $tooltip; |
||
0 ignored issues
–
show
It seems like
$tooltip can be null . However, the property $tooltip is declared as array . Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter ![]() |
|||
1661 | return $this; |
||
1662 | } |
||
1663 | |||
1664 | /** |
||
1665 | * Set the turbo threshold. |
||
1666 | * |
||
1667 | * @param integer $turboThreshold The turbo threshold. |
||
1668 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1669 | */ |
||
1670 | public function setTurboThreshold($turboThreshold) { |
||
1671 | $this->turboThreshold = $turboThreshold; |
||
1672 | return $this; |
||
1673 | } |
||
1674 | |||
1675 | /** |
||
1676 | * Set the visible. |
||
1677 | * |
||
1678 | * @param boolean $visible The visible. |
||
1679 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1680 | */ |
||
1681 | public function setVisible($visible) { |
||
1682 | $this->visible = $visible; |
||
1683 | return $this; |
||
1684 | } |
||
1685 | |||
1686 | /** |
||
1687 | * Set the zone axis. |
||
1688 | * |
||
1689 | * @param string $zoneAxis The zone axis. |
||
1690 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1691 | */ |
||
1692 | public function setZoneAxis($zoneAxis) { |
||
1693 | $this->zoneAxis = $zoneAxis; |
||
1694 | return $this; |
||
1695 | } |
||
1696 | |||
1697 | /** |
||
1698 | * Set the zones. |
||
1699 | * |
||
1700 | * @param array $zones The zones. |
||
1701 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumnrange Returns the highcharts columnrange. |
||
1702 | */ |
||
1703 | public function setZones(array $zones = null) { |
||
1704 | $this->zones = $zones; |
||
0 ignored issues
–
show
It seems like
$zones can be null . However, the property $zones is declared as array . Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter ![]() |
|||
1705 | return $this; |
||
1706 | } |
||
1707 | |||
1708 | /** |
||
1709 | * Convert into an array representing this instance. |
||
1710 | * |
||
1711 | * @return array Returns an array representing this instance. |
||
1712 | */ |
||
1713 | public function toArray() { |
||
1714 | |||
1715 | // Initialize the output. |
||
1716 | $output = []; |
||
1717 | |||
1718 | // Set the allow point select. |
||
1719 | ArrayUtility::set($output, "allowPointSelect", $this->allowPointSelect, [null]); |
||
1720 | |||
1721 | // Set the animation. |
||
1722 | ArrayUtility::set($output, "animation", $this->animation, [null]); |
||
1723 | |||
1724 | // Set the animation limit. |
||
1725 | ArrayUtility::set($output, "animationLimit", $this->animationLimit, [null]); |
||
1726 | |||
1727 | // Set the border color. |
||
1728 | ArrayUtility::set($output, "borderColor", $this->borderColor, [null]); |
||
1729 | |||
1730 | // Set the border radius. |
||
1731 | ArrayUtility::set($output, "borderRadius", $this->borderRadius, [null]); |
||
1732 | |||
1733 | // Set the border width. |
||
1734 | ArrayUtility::set($output, "borderWidth", $this->borderWidth, [null]); |
||
1735 | |||
1736 | // Set the class name. |
||
1737 | ArrayUtility::set($output, "className", $this->className, [null]); |
||
1738 | |||
1739 | // Set the color. |
||
1740 | ArrayUtility::set($output, "color", $this->color, [null]); |
||
1741 | |||
1742 | // Set the color by point. |
||
1743 | ArrayUtility::set($output, "colorByPoint", $this->colorByPoint, [null]); |
||
1744 | |||
1745 | // Set the color index. |
||
1746 | ArrayUtility::set($output, "colorIndex", $this->colorIndex, [null]); |
||
1747 | |||
1748 | // Set the colors. |
||
1749 | ArrayUtility::set($output, "colors", $this->colors, [null]); |
||
1750 | |||
1751 | // Set the crisp. |
||
1752 | ArrayUtility::set($output, "crisp", $this->crisp, [null]); |
||
1753 | |||
1754 | // Set the crop threshold. |
||
1755 | ArrayUtility::set($output, "cropThreshold", $this->cropThreshold, [null]); |
||
1756 | |||
1757 | // Set the cursor. |
||
1758 | ArrayUtility::set($output, "cursor", $this->cursor, [null]); |
||
1759 | |||
1760 | // Set the data labels. |
||
1761 | ArrayUtility::set($output, "dataLabels", $this->dataLabels, [null]); |
||
1762 | |||
1763 | // Set the depth. |
||
1764 | ArrayUtility::set($output, "depth", $this->depth, [null]); |
||
1765 | |||
1766 | // Set the description. |
||
1767 | ArrayUtility::set($output, "description", $this->description, [null]); |
||
1768 | |||
1769 | // Set the edge color. |
||
1770 | ArrayUtility::set($output, "edgeColor", $this->edgeColor, [null]); |
||
1771 | |||
1772 | // Set the edge width. |
||
1773 | ArrayUtility::set($output, "edgeWidth", $this->edgeWidth, [null]); |
||
1774 | |||
1775 | // Set the enable mouse tracking. |
||
1776 | ArrayUtility::set($output, "enableMouseTracking", $this->enableMouseTracking, [null]); |
||
1777 | |||
1778 | // Set the events. |
||
1779 | if (null !== $this->events) { |
||
1780 | ArrayUtility::set($output, "events", $this->events->toArray(), []); |
||
1781 | } |
||
1782 | |||
1783 | // Set the expose element to a11y. |
||
1784 | ArrayUtility::set($output, "exposeElementToA11y", $this->exposeElementToA11y, [null]); |
||
1785 | |||
1786 | // Set the find nearest point by. |
||
1787 | ArrayUtility::set($output, "findNearestPointBy", $this->findNearestPointBy, [null]); |
||
1788 | |||
1789 | // Set the get extremes from all. |
||
1790 | ArrayUtility::set($output, "getExtremesFromAll", $this->getExtremesFromAll, [null]); |
||
1791 | |||
1792 | // Set the group padding. |
||
1793 | ArrayUtility::set($output, "groupPadding", $this->groupPadding, [null]); |
||
1794 | |||
1795 | // Set the group z padding. |
||
1796 | ArrayUtility::set($output, "groupZPadding", $this->groupZPadding, [null]); |
||
1797 | |||
1798 | // Set the grouping. |
||
1799 | ArrayUtility::set($output, "grouping", $this->grouping, [null]); |
||
1800 | |||
1801 | // Set the keys. |
||
1802 | ArrayUtility::set($output, "keys", $this->keys, [null]); |
||
1803 | |||
1804 | // Set the linked to. |
||
1805 | ArrayUtility::set($output, "linkedTo", $this->linkedTo, [null]); |
||
1806 | |||
1807 | // Set the max point width. |
||
1808 | ArrayUtility::set($output, "maxPointWidth", $this->maxPointWidth, [null]); |
||
1809 | |||
1810 | // Set the min point length. |
||
1811 | ArrayUtility::set($output, "minPointLength", $this->minPointLength, [null]); |
||
1812 | |||
1813 | // Set the point. |
||
1814 | if (null !== $this->point) { |
||
1815 | ArrayUtility::set($output, "point", $this->point->toArray(), []); |
||
1816 | } |
||
1817 | |||
1818 | // Set the point description formatter. |
||
1819 | ArrayUtility::set($output, "pointDescriptionFormatter", $this->pointDescriptionFormatter, [null]); |
||
1820 | |||
1821 | // Set the point interval. |
||
1822 | ArrayUtility::set($output, "pointInterval", $this->pointInterval, [null]); |
||
1823 | |||
1824 | // Set the point interval unit. |
||
1825 | ArrayUtility::set($output, "pointIntervalUnit", $this->pointIntervalUnit, [null]); |
||
1826 | |||
1827 | // Set the point padding. |
||
1828 | ArrayUtility::set($output, "pointPadding", $this->pointPadding, [null]); |
||
1829 | |||
1830 | // Set the point placement. |
||
1831 | ArrayUtility::set($output, "pointPlacement", $this->pointPlacement, [null]); |
||
1832 | |||
1833 | // Set the point range. |
||
1834 | ArrayUtility::set($output, "pointRange", $this->pointRange, [null]); |
||
1835 | |||
1836 | // Set the point start. |
||
1837 | ArrayUtility::set($output, "pointStart", $this->pointStart, [null]); |
||
1838 | |||
1839 | // Set the point width. |
||
1840 | ArrayUtility::set($output, "pointWidth", $this->pointWidth, [null]); |
||
1841 | |||
1842 | // Set the selected. |
||
1843 | ArrayUtility::set($output, "selected", $this->selected, [null]); |
||
1844 | |||
1845 | // Set the shadow. |
||
1846 | ArrayUtility::set($output, "shadow", $this->shadow, [null]); |
||
1847 | |||
1848 | // Set the show checkbox. |
||
1849 | ArrayUtility::set($output, "showCheckbox", $this->showCheckbox, [null]); |
||
1850 | |||
1851 | // Set the show in legend. |
||
1852 | ArrayUtility::set($output, "showInLegend", $this->showInLegend, [null]); |
||
1853 | |||
1854 | // Set the skip keyboard navigation. |
||
1855 | ArrayUtility::set($output, "skipKeyboardNavigation", $this->skipKeyboardNavigation, [null]); |
||
1856 | |||
1857 | // Set the states. |
||
1858 | if (null !== $this->states) { |
||
1859 | ArrayUtility::set($output, "states", $this->states->toArray(), []); |
||
1860 | } |
||
1861 | |||
1862 | // Set the sticky tracking. |
||
1863 | ArrayUtility::set($output, "stickyTracking", $this->stickyTracking, [null]); |
||
1864 | |||
1865 | // Set the tooltip. |
||
1866 | ArrayUtility::set($output, "tooltip", $this->tooltip, [null]); |
||
1867 | |||
1868 | // Set the turbo threshold. |
||
1869 | ArrayUtility::set($output, "turboThreshold", $this->turboThreshold, [null]); |
||
1870 | |||
1871 | // Set the visible. |
||
1872 | ArrayUtility::set($output, "visible", $this->visible, [null]); |
||
1873 | |||
1874 | // Set the zone axis. |
||
1875 | ArrayUtility::set($output, "zoneAxis", $this->zoneAxis, [null]); |
||
1876 | |||
1877 | // Set the zones. |
||
1878 | ArrayUtility::set($output, "zones", $this->zones, [null]); |
||
1879 | |||
1880 | // Return the output. |
||
1881 | return $output; |
||
1882 | } |
||
1883 | |||
1884 | } |
||
1885 |
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..