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; |
||
13 | |||
14 | use JsonSerializable; |
||
15 | use WBW\Library\Core\Utility\Argument\ArrayUtility; |
||
16 | |||
17 | /** |
||
18 | * Highcharts y axis. |
||
19 | * |
||
20 | * @author webeweb <https://github.com/webeweb/> |
||
21 | * @package WBW\Bundle\HighchartsBundle\API\Chart |
||
22 | * @version 5.0.14 |
||
23 | * @final |
||
24 | */ |
||
25 | final class HighchartsYAxis implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Allow decimals. |
||
29 | * |
||
30 | * @var boolean |
||
31 | * @since 2.0 |
||
32 | */ |
||
33 | private $allowDecimals = true; |
||
34 | |||
35 | /** |
||
36 | * Alternate grid color. |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | private $alternateGridColor; |
||
41 | |||
42 | /** |
||
43 | * Angle. |
||
44 | * |
||
45 | * @var integer |
||
46 | * @since 4.2.7 |
||
47 | */ |
||
48 | private $angle = 0; |
||
49 | |||
50 | /** |
||
51 | * Breaks. |
||
52 | * |
||
53 | * @var array |
||
54 | * @since 4.1.0 |
||
55 | */ |
||
56 | private $breaks; |
||
57 | |||
58 | /** |
||
59 | * Categories. |
||
60 | * |
||
61 | * @var array |
||
62 | */ |
||
63 | private $categories; |
||
64 | |||
65 | /** |
||
66 | * Ceiling. |
||
67 | * |
||
68 | * @var integer |
||
69 | * @since 4.0 |
||
70 | */ |
||
71 | private $ceiling; |
||
72 | |||
73 | /** |
||
74 | * Class name. |
||
75 | * |
||
76 | * @var string |
||
77 | * @since 5.0.0 |
||
78 | */ |
||
79 | private $className; |
||
80 | |||
81 | /** |
||
82 | * Crosshair. |
||
83 | * |
||
84 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsCrosshair |
||
85 | * @since 4.1 |
||
86 | */ |
||
87 | private $crosshair; |
||
88 | |||
89 | /** |
||
90 | * Date time label formats. |
||
91 | * |
||
92 | * @var array |
||
93 | */ |
||
94 | private $dateTimeLabelFormats; |
||
95 | |||
96 | /** |
||
97 | * Description. |
||
98 | * |
||
99 | * @var string |
||
100 | * @since 5.0.0 |
||
101 | */ |
||
102 | private $description; |
||
103 | |||
104 | /** |
||
105 | * End on tick. |
||
106 | * |
||
107 | * @var boolean |
||
108 | * @since 1.2.0 |
||
109 | */ |
||
110 | private $endOnTick = true; |
||
111 | |||
112 | /** |
||
113 | * Events. |
||
114 | * |
||
115 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsEvents |
||
116 | */ |
||
117 | private $events; |
||
118 | |||
119 | /** |
||
120 | * Floor. |
||
121 | * |
||
122 | * @var integer |
||
123 | * @since 4.0 |
||
124 | */ |
||
125 | private $floor; |
||
126 | |||
127 | /** |
||
128 | * Grid line color. |
||
129 | * |
||
130 | * @var string |
||
131 | */ |
||
132 | private $gridLineColor = "#e6e6e6"; |
||
133 | |||
134 | /** |
||
135 | * Grid line dash style. |
||
136 | * |
||
137 | * @var string |
||
138 | * @since 1.2 |
||
139 | */ |
||
140 | private $gridLineDashStyle = "Solid"; |
||
141 | |||
142 | /** |
||
143 | * Grid line interpolation. |
||
144 | * |
||
145 | * @var string |
||
146 | */ |
||
147 | private $gridLineInterpolation; |
||
148 | |||
149 | /** |
||
150 | * Grid line width. |
||
151 | * |
||
152 | * @var integer |
||
153 | */ |
||
154 | private $gridLineWidth = 1; |
||
155 | |||
156 | /** |
||
157 | * Grid z index. |
||
158 | * |
||
159 | * @var integer |
||
160 | */ |
||
161 | private $gridZIndex = 1; |
||
162 | |||
163 | /** |
||
164 | * Id. |
||
165 | * |
||
166 | * @var string |
||
167 | * @since 1.2.0 |
||
168 | */ |
||
169 | private $id; |
||
170 | |||
171 | /** |
||
172 | * Labels. |
||
173 | * |
||
174 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsLabels |
||
175 | */ |
||
176 | private $labels; |
||
177 | |||
178 | /** |
||
179 | * Line color. |
||
180 | * |
||
181 | * @var string |
||
182 | */ |
||
183 | private $lineColor = "#ccd6eb"; |
||
184 | |||
185 | /** |
||
186 | * Line width. |
||
187 | * |
||
188 | * @var integer |
||
189 | */ |
||
190 | private $lineWidth = 0; |
||
191 | |||
192 | /** |
||
193 | * Linked to. |
||
194 | * |
||
195 | * @var integer |
||
196 | * @since 2.0.2 |
||
197 | */ |
||
198 | private $linkedTo; |
||
199 | |||
200 | /** |
||
201 | * Max. |
||
202 | * |
||
203 | * @var integer |
||
204 | */ |
||
205 | private $max; |
||
206 | |||
207 | /** |
||
208 | * Max color. |
||
209 | * |
||
210 | * @var string |
||
211 | * @since 4.0 |
||
212 | */ |
||
213 | private $maxColor = "#003399"; |
||
214 | |||
215 | /** |
||
216 | * Max padding. |
||
217 | * |
||
218 | * @var integer |
||
219 | * @since 1.2.0 |
||
220 | */ |
||
221 | private $maxPadding = 0.05; |
||
222 | |||
223 | /** |
||
224 | * Max zoom. |
||
225 | * |
||
226 | * @var integer |
||
227 | * @deprecated |
||
228 | */ |
||
229 | private $maxZoom; |
||
230 | |||
231 | /** |
||
232 | * Min. |
||
233 | * |
||
234 | * @var integer |
||
235 | */ |
||
236 | private $min; |
||
237 | |||
238 | /** |
||
239 | * Min color. |
||
240 | * |
||
241 | * @var string |
||
242 | * @since 4.0 |
||
243 | */ |
||
244 | private $minColor = "#e6ebf5"; |
||
245 | |||
246 | /** |
||
247 | * Min padding. |
||
248 | * |
||
249 | * @var integer |
||
250 | * @since 1.2.0 |
||
251 | */ |
||
252 | private $minPadding = 0.05; |
||
253 | |||
254 | /** |
||
255 | * Min range. |
||
256 | * |
||
257 | * @var integer |
||
258 | */ |
||
259 | private $minRange; |
||
260 | |||
261 | /** |
||
262 | * Min tick interval. |
||
263 | * |
||
264 | * @var integer |
||
265 | * @since 2.3.0 |
||
266 | */ |
||
267 | private $minTickInterval; |
||
268 | |||
269 | /** |
||
270 | * Minor grid line color. |
||
271 | * |
||
272 | * @var string |
||
273 | */ |
||
274 | private $minorGridLineColor = "#f2f2f2"; |
||
275 | |||
276 | /** |
||
277 | * Minor grid line dash style. |
||
278 | * |
||
279 | * @var string |
||
280 | * @since 1.2 |
||
281 | */ |
||
282 | private $minorGridLineDashStyle = "Solid"; |
||
283 | |||
284 | /** |
||
285 | * Minor grid line width. |
||
286 | * |
||
287 | * @var integer |
||
288 | */ |
||
289 | private $minorGridLineWidth = 1; |
||
290 | |||
291 | /** |
||
292 | * Minor tick color. |
||
293 | * |
||
294 | * @var string |
||
295 | */ |
||
296 | private $minorTickColor = "#999999"; |
||
297 | |||
298 | /** |
||
299 | * Minor tick interval. |
||
300 | * |
||
301 | * @var string|integer |
||
302 | */ |
||
303 | private $minorTickInterval; |
||
304 | |||
305 | /** |
||
306 | * Minor tick length. |
||
307 | * |
||
308 | * @var integer |
||
309 | */ |
||
310 | private $minorTickLength = 2; |
||
311 | |||
312 | /** |
||
313 | * Minor tick position. |
||
314 | * |
||
315 | * @var string |
||
316 | */ |
||
317 | private $minorTickPosition = "outside"; |
||
318 | |||
319 | /** |
||
320 | * Minor tick width. |
||
321 | * |
||
322 | * @var integer |
||
323 | */ |
||
324 | private $minorTickWidth = 0; |
||
325 | |||
326 | /** |
||
327 | * Offset. |
||
328 | * |
||
329 | * @var integer |
||
330 | */ |
||
331 | private $offset = 0; |
||
332 | |||
333 | /** |
||
334 | * Opposite. |
||
335 | * |
||
336 | * @var boolean |
||
337 | */ |
||
338 | private $opposite = false; |
||
339 | |||
340 | /** |
||
341 | * Plot bands. |
||
342 | * |
||
343 | * @var array |
||
344 | */ |
||
345 | private $plotBands; |
||
346 | |||
347 | /** |
||
348 | * Plot lines. |
||
349 | * |
||
350 | * @var array |
||
351 | */ |
||
352 | private $plotLines; |
||
353 | |||
354 | /** |
||
355 | * Reversed. |
||
356 | * |
||
357 | * @var boolean |
||
358 | */ |
||
359 | private $reversed = false; |
||
360 | |||
361 | /** |
||
362 | * Reversed stacks. |
||
363 | * |
||
364 | * @var boolean |
||
365 | * @since 3.0.10 |
||
366 | */ |
||
367 | private $reversedStacks = true; |
||
368 | |||
369 | /** |
||
370 | * Show empty. |
||
371 | * |
||
372 | * @var boolean |
||
373 | * @since 1.1 |
||
374 | */ |
||
375 | private $showEmpty = true; |
||
376 | |||
377 | /** |
||
378 | * Show first label. |
||
379 | * |
||
380 | * @var boolean |
||
381 | */ |
||
382 | private $showFirstLabel = true; |
||
383 | |||
384 | /** |
||
385 | * Show last label. |
||
386 | * |
||
387 | * @var boolean |
||
388 | */ |
||
389 | private $showLastLabel; |
||
390 | |||
391 | /** |
||
392 | * Soft max. |
||
393 | * |
||
394 | * @var integer |
||
395 | * @since 5.0.1 |
||
396 | */ |
||
397 | private $softMax; |
||
398 | |||
399 | /** |
||
400 | * Soft min. |
||
401 | * |
||
402 | * @var integer |
||
403 | * @since 5.0.1 |
||
404 | */ |
||
405 | private $softMin; |
||
406 | |||
407 | /** |
||
408 | * Stack labels. |
||
409 | * |
||
410 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsStackLabels |
||
411 | */ |
||
412 | private $stackLabels; |
||
413 | |||
414 | /** |
||
415 | * Start of week. |
||
416 | * |
||
417 | * @var integer |
||
418 | */ |
||
419 | private $startOfWeek = 1; |
||
420 | |||
421 | /** |
||
422 | * Start on tick. |
||
423 | * |
||
424 | * @var boolean |
||
425 | * @since 1.2.0 |
||
426 | */ |
||
427 | private $startOnTick = true; |
||
428 | |||
429 | /** |
||
430 | * Stops. |
||
431 | * |
||
432 | * @var array |
||
433 | * @since 4.0 |
||
434 | */ |
||
435 | private $stops; |
||
436 | |||
437 | /** |
||
438 | * Tick amount. |
||
439 | * |
||
440 | * @var integer |
||
441 | * @since 4.1.0 |
||
442 | */ |
||
443 | private $tickAmount; |
||
444 | |||
445 | /** |
||
446 | * Tick color. |
||
447 | * |
||
448 | * @var string |
||
449 | */ |
||
450 | private $tickColor = "#ccd6eb"; |
||
451 | |||
452 | /** |
||
453 | * Tick interval. |
||
454 | * |
||
455 | * @var integer |
||
456 | */ |
||
457 | private $tickInterval; |
||
458 | |||
459 | /** |
||
460 | * Tick length. |
||
461 | * |
||
462 | * @var integer |
||
463 | */ |
||
464 | private $tickLength = 10; |
||
465 | |||
466 | /** |
||
467 | * Tick pixel interval. |
||
468 | * |
||
469 | * @var integer |
||
470 | */ |
||
471 | private $tickPixelInterval; |
||
472 | |||
473 | /** |
||
474 | * Tick position. |
||
475 | * |
||
476 | * @var string |
||
477 | */ |
||
478 | private $tickPosition = "outside"; |
||
479 | |||
480 | /** |
||
481 | * Tick positioner. |
||
482 | * |
||
483 | * @var string |
||
484 | */ |
||
485 | private $tickPositioner; |
||
486 | |||
487 | /** |
||
488 | * Tick positions. |
||
489 | * |
||
490 | * @var array |
||
491 | */ |
||
492 | private $tickPositions; |
||
493 | |||
494 | /** |
||
495 | * Tick width. |
||
496 | * |
||
497 | * @var integer |
||
498 | */ |
||
499 | private $tickWidth = 0; |
||
500 | |||
501 | /** |
||
502 | * Tickmark placement. |
||
503 | * |
||
504 | * @var string |
||
505 | */ |
||
506 | private $tickmarkPlacement; |
||
507 | |||
508 | /** |
||
509 | * Title. |
||
510 | * |
||
511 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsTitle |
||
512 | */ |
||
513 | private $title; |
||
514 | |||
515 | /** |
||
516 | * Type. |
||
517 | * |
||
518 | * @var string |
||
519 | */ |
||
520 | private $type = "linear"; |
||
521 | |||
522 | /** |
||
523 | * Unique names. |
||
524 | * |
||
525 | * @var boolean |
||
526 | * @since 4.2.7 |
||
527 | */ |
||
528 | private $uniqueNames = true; |
||
529 | |||
530 | /** |
||
531 | * Units. |
||
532 | * |
||
533 | * @var array |
||
534 | */ |
||
535 | private $units; |
||
536 | |||
537 | /** |
||
538 | * Visible. |
||
539 | * |
||
540 | * @var boolean |
||
541 | * @since 4.1.9 |
||
542 | */ |
||
543 | private $visible = true; |
||
544 | |||
545 | /** |
||
546 | * Constructor. |
||
547 | * |
||
548 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
549 | */ |
||
550 | public function __construct($ignoreDefaultValues = true) { |
||
551 | if (true === $ignoreDefaultValues) { |
||
552 | $this->clear(); |
||
553 | } |
||
554 | } |
||
555 | |||
556 | /** |
||
557 | * Clear. |
||
558 | * |
||
559 | * @return void |
||
560 | */ |
||
561 | public function clear() { |
||
562 | |||
563 | // Clear the allow decimals. |
||
564 | $this->allowDecimals = null; |
||
565 | |||
566 | // Clear the alternate grid color. |
||
567 | $this->alternateGridColor = null; |
||
568 | |||
569 | // Clear the angle. |
||
570 | $this->angle = null; |
||
571 | |||
572 | // Clear the breaks. |
||
573 | $this->breaks = null; |
||
0 ignored issues
–
show
|
|||
574 | |||
575 | // Clear the categories. |
||
576 | $this->categories = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $categories .
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.. ![]() |
|||
577 | |||
578 | // Clear the ceiling. |
||
579 | $this->ceiling = null; |
||
580 | |||
581 | // Clear the class name. |
||
582 | $this->className = null; |
||
583 | |||
584 | // Clear the crosshair. |
||
585 | if (null !== $this->crosshair) { |
||
586 | $this->crosshair->clear(); |
||
587 | } |
||
588 | |||
589 | // Clear the date time label formats. |
||
590 | $this->dateTimeLabelFormats = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $dateTimeLabelFormats .
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.. ![]() |
|||
591 | |||
592 | // Clear the description. |
||
593 | $this->description = null; |
||
594 | |||
595 | // Clear the end on tick. |
||
596 | $this->endOnTick = null; |
||
597 | |||
598 | // Clear the events. |
||
599 | if (null !== $this->events) { |
||
600 | $this->events->clear(); |
||
601 | } |
||
602 | |||
603 | // Clear the floor. |
||
604 | $this->floor = null; |
||
605 | |||
606 | // Clear the grid line color. |
||
607 | $this->gridLineColor = null; |
||
608 | |||
609 | // Clear the grid line dash style. |
||
610 | $this->gridLineDashStyle = null; |
||
611 | |||
612 | // Clear the grid line interpolation. |
||
613 | $this->gridLineInterpolation = null; |
||
614 | |||
615 | // Clear the grid line width. |
||
616 | $this->gridLineWidth = null; |
||
617 | |||
618 | // Clear the grid z index. |
||
619 | $this->gridZIndex = null; |
||
620 | |||
621 | // Clear the id. |
||
622 | $this->id = null; |
||
623 | |||
624 | // Clear the labels. |
||
625 | if (null !== $this->labels) { |
||
626 | $this->labels->clear(); |
||
627 | } |
||
628 | |||
629 | // Clear the line color. |
||
630 | $this->lineColor = null; |
||
631 | |||
632 | // Clear the line width. |
||
633 | $this->lineWidth = null; |
||
634 | |||
635 | // Clear the linked to. |
||
636 | $this->linkedTo = null; |
||
637 | |||
638 | // Clear the max. |
||
639 | $this->max = null; |
||
640 | |||
641 | // Clear the max color. |
||
642 | $this->maxColor = null; |
||
643 | |||
644 | // Clear the max padding. |
||
645 | $this->maxPadding = null; |
||
646 | |||
647 | // Clear the max zoom. |
||
648 | $this->maxZoom = null; |
||
0 ignored issues
–
show
The property
WBW\Bundle\HighchartsBun...ghchartsYAxis::$maxZoom has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
649 | |||
650 | // Clear the min. |
||
651 | $this->min = null; |
||
652 | |||
653 | // Clear the min color. |
||
654 | $this->minColor = null; |
||
655 | |||
656 | // Clear the min padding. |
||
657 | $this->minPadding = null; |
||
658 | |||
659 | // Clear the min range. |
||
660 | $this->minRange = null; |
||
661 | |||
662 | // Clear the min tick interval. |
||
663 | $this->minTickInterval = null; |
||
664 | |||
665 | // Clear the minor grid line color. |
||
666 | $this->minorGridLineColor = null; |
||
667 | |||
668 | // Clear the minor grid line dash style. |
||
669 | $this->minorGridLineDashStyle = null; |
||
670 | |||
671 | // Clear the minor grid line width. |
||
672 | $this->minorGridLineWidth = null; |
||
673 | |||
674 | // Clear the minor tick color. |
||
675 | $this->minorTickColor = null; |
||
676 | |||
677 | // Clear the minor tick interval. |
||
678 | $this->minorTickInterval = null; |
||
679 | |||
680 | // Clear the minor tick length. |
||
681 | $this->minorTickLength = null; |
||
682 | |||
683 | // Clear the minor tick position. |
||
684 | $this->minorTickPosition = null; |
||
685 | |||
686 | // Clear the minor tick width. |
||
687 | $this->minorTickWidth = null; |
||
688 | |||
689 | // Clear the offset. |
||
690 | $this->offset = null; |
||
691 | |||
692 | // Clear the opposite. |
||
693 | $this->opposite = null; |
||
694 | |||
695 | // Clear the plot bands. |
||
696 | $this->plotBands = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $plotBands .
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.. ![]() |
|||
697 | |||
698 | // Clear the plot lines. |
||
699 | $this->plotLines = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $plotLines .
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.. ![]() |
|||
700 | |||
701 | // Clear the reversed. |
||
702 | $this->reversed = null; |
||
703 | |||
704 | // Clear the reversed stacks. |
||
705 | $this->reversedStacks = null; |
||
706 | |||
707 | // Clear the show empty. |
||
708 | $this->showEmpty = null; |
||
709 | |||
710 | // Clear the show first label. |
||
711 | $this->showFirstLabel = null; |
||
712 | |||
713 | // Clear the show last label. |
||
714 | $this->showLastLabel = null; |
||
715 | |||
716 | // Clear the soft max. |
||
717 | $this->softMax = null; |
||
718 | |||
719 | // Clear the soft min. |
||
720 | $this->softMin = null; |
||
721 | |||
722 | // Clear the stack labels. |
||
723 | if (null !== $this->stackLabels) { |
||
724 | $this->stackLabels->clear(); |
||
725 | } |
||
726 | |||
727 | // Clear the start of week. |
||
728 | $this->startOfWeek = null; |
||
729 | |||
730 | // Clear the start on tick. |
||
731 | $this->startOnTick = null; |
||
732 | |||
733 | // Clear the stops. |
||
734 | $this->stops = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $stops .
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.. ![]() |
|||
735 | |||
736 | // Clear the tick amount. |
||
737 | $this->tickAmount = null; |
||
738 | |||
739 | // Clear the tick color. |
||
740 | $this->tickColor = null; |
||
741 | |||
742 | // Clear the tick interval. |
||
743 | $this->tickInterval = null; |
||
744 | |||
745 | // Clear the tick length. |
||
746 | $this->tickLength = null; |
||
747 | |||
748 | // Clear the tick pixel interval. |
||
749 | $this->tickPixelInterval = null; |
||
750 | |||
751 | // Clear the tick position. |
||
752 | $this->tickPosition = null; |
||
753 | |||
754 | // Clear the tick positioner. |
||
755 | $this->tickPositioner = null; |
||
756 | |||
757 | // Clear the tick positions. |
||
758 | $this->tickPositions = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $tickPositions .
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.. ![]() |
|||
759 | |||
760 | // Clear the tick width. |
||
761 | $this->tickWidth = null; |
||
762 | |||
763 | // Clear the tickmark placement. |
||
764 | $this->tickmarkPlacement = null; |
||
765 | |||
766 | // Clear the title. |
||
767 | if (null !== $this->title) { |
||
768 | $this->title->clear(); |
||
769 | } |
||
770 | |||
771 | // Clear the type. |
||
772 | $this->type = null; |
||
773 | |||
774 | // Clear the unique names. |
||
775 | $this->uniqueNames = null; |
||
776 | |||
777 | // Clear the units. |
||
778 | $this->units = null; |
||
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $units .
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.. ![]() |
|||
779 | |||
780 | // Clear the visible. |
||
781 | $this->visible = null; |
||
782 | } |
||
783 | |||
784 | /** |
||
785 | * Get the allow decimals. |
||
786 | * |
||
787 | * @return boolean Returns the allow decimals. |
||
788 | */ |
||
789 | public function getAllowDecimals() { |
||
790 | return $this->allowDecimals; |
||
791 | } |
||
792 | |||
793 | /** |
||
794 | * Get the alternate grid color. |
||
795 | * |
||
796 | * @return string Returns the alternate grid color. |
||
797 | */ |
||
798 | public function getAlternateGridColor() { |
||
799 | return $this->alternateGridColor; |
||
800 | } |
||
801 | |||
802 | /** |
||
803 | * Get the angle. |
||
804 | * |
||
805 | * @return integer Returns the angle. |
||
806 | */ |
||
807 | public function getAngle() { |
||
808 | return $this->angle; |
||
809 | } |
||
810 | |||
811 | /** |
||
812 | * Get the breaks. |
||
813 | * |
||
814 | * @return array Returns the breaks. |
||
815 | */ |
||
816 | public function getBreaks() { |
||
817 | return $this->breaks; |
||
818 | } |
||
819 | |||
820 | /** |
||
821 | * Get the categories. |
||
822 | * |
||
823 | * @return array Returns the categories. |
||
824 | */ |
||
825 | public function getCategories() { |
||
826 | return $this->categories; |
||
827 | } |
||
828 | |||
829 | /** |
||
830 | * Get the ceiling. |
||
831 | * |
||
832 | * @return integer Returns the ceiling. |
||
833 | */ |
||
834 | public function getCeiling() { |
||
835 | return $this->ceiling; |
||
836 | } |
||
837 | |||
838 | /** |
||
839 | * Get the class name. |
||
840 | * |
||
841 | * @return string Returns the class name. |
||
842 | */ |
||
843 | public function getClassName() { |
||
844 | return $this->className; |
||
845 | } |
||
846 | |||
847 | /** |
||
848 | * Get the crosshair. |
||
849 | * |
||
850 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsCrosshair Returns the crosshair. |
||
851 | */ |
||
852 | public function getCrosshair() { |
||
853 | return $this->crosshair; |
||
854 | } |
||
855 | |||
856 | /** |
||
857 | * Get the date time label formats. |
||
858 | * |
||
859 | * @return array Returns the date time label formats. |
||
860 | */ |
||
861 | public function getDateTimeLabelFormats() { |
||
862 | return $this->dateTimeLabelFormats; |
||
863 | } |
||
864 | |||
865 | /** |
||
866 | * Get the description. |
||
867 | * |
||
868 | * @return string Returns the description. |
||
869 | */ |
||
870 | public function getDescription() { |
||
871 | return $this->description; |
||
872 | } |
||
873 | |||
874 | /** |
||
875 | * Get the end on tick. |
||
876 | * |
||
877 | * @return boolean Returns the end on tick. |
||
878 | */ |
||
879 | public function getEndOnTick() { |
||
880 | return $this->endOnTick; |
||
881 | } |
||
882 | |||
883 | /** |
||
884 | * Get the events. |
||
885 | * |
||
886 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsEvents Returns the events. |
||
887 | */ |
||
888 | public function getEvents() { |
||
889 | return $this->events; |
||
890 | } |
||
891 | |||
892 | /** |
||
893 | * Get the floor. |
||
894 | * |
||
895 | * @return integer Returns the floor. |
||
896 | */ |
||
897 | public function getFloor() { |
||
898 | return $this->floor; |
||
899 | } |
||
900 | |||
901 | /** |
||
902 | * Get the grid line color. |
||
903 | * |
||
904 | * @return string Returns the grid line color. |
||
905 | */ |
||
906 | public function getGridLineColor() { |
||
907 | return $this->gridLineColor; |
||
908 | } |
||
909 | |||
910 | /** |
||
911 | * Get the grid line dash style. |
||
912 | * |
||
913 | * @return string Returns the grid line dash style. |
||
914 | */ |
||
915 | public function getGridLineDashStyle() { |
||
916 | return $this->gridLineDashStyle; |
||
917 | } |
||
918 | |||
919 | /** |
||
920 | * Get the grid line interpolation. |
||
921 | * |
||
922 | * @return string Returns the grid line interpolation. |
||
923 | */ |
||
924 | public function getGridLineInterpolation() { |
||
925 | return $this->gridLineInterpolation; |
||
926 | } |
||
927 | |||
928 | /** |
||
929 | * Get the grid line width. |
||
930 | * |
||
931 | * @return integer Returns the grid line width. |
||
932 | */ |
||
933 | public function getGridLineWidth() { |
||
934 | return $this->gridLineWidth; |
||
935 | } |
||
936 | |||
937 | /** |
||
938 | * Get the grid z index. |
||
939 | * |
||
940 | * @return integer Returns the grid z index. |
||
941 | */ |
||
942 | public function getGridZIndex() { |
||
943 | return $this->gridZIndex; |
||
944 | } |
||
945 | |||
946 | /** |
||
947 | * Get the id. |
||
948 | * |
||
949 | * @return string Returns the id. |
||
950 | */ |
||
951 | public function getId() { |
||
952 | return $this->id; |
||
953 | } |
||
954 | |||
955 | /** |
||
956 | * Get the labels. |
||
957 | * |
||
958 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsLabels Returns the labels. |
||
959 | */ |
||
960 | public function getLabels() { |
||
961 | return $this->labels; |
||
962 | } |
||
963 | |||
964 | /** |
||
965 | * Get the line color. |
||
966 | * |
||
967 | * @return string Returns the line color. |
||
968 | */ |
||
969 | public function getLineColor() { |
||
970 | return $this->lineColor; |
||
971 | } |
||
972 | |||
973 | /** |
||
974 | * Get the line width. |
||
975 | * |
||
976 | * @return integer Returns the line width. |
||
977 | */ |
||
978 | public function getLineWidth() { |
||
979 | return $this->lineWidth; |
||
980 | } |
||
981 | |||
982 | /** |
||
983 | * Get the linked to. |
||
984 | * |
||
985 | * @return integer Returns the linked to. |
||
986 | */ |
||
987 | public function getLinkedTo() { |
||
988 | return $this->linkedTo; |
||
989 | } |
||
990 | |||
991 | /** |
||
992 | * Get the max. |
||
993 | * |
||
994 | * @return integer Returns the max. |
||
995 | */ |
||
996 | public function getMax() { |
||
997 | return $this->max; |
||
998 | } |
||
999 | |||
1000 | /** |
||
1001 | * Get the max color. |
||
1002 | * |
||
1003 | * @return string Returns the max color. |
||
1004 | */ |
||
1005 | public function getMaxColor() { |
||
1006 | return $this->maxColor; |
||
1007 | } |
||
1008 | |||
1009 | /** |
||
1010 | * Get the max padding. |
||
1011 | * |
||
1012 | * @return integer Returns the max padding. |
||
1013 | */ |
||
1014 | public function getMaxPadding() { |
||
1015 | return $this->maxPadding; |
||
1016 | } |
||
1017 | |||
1018 | /** |
||
1019 | * Get the max zoom. |
||
1020 | * |
||
1021 | * @return integer Returns the max zoom. |
||
1022 | * @deprecated |
||
1023 | */ |
||
1024 | public function getMaxZoom() { |
||
1025 | return $this->maxZoom; |
||
0 ignored issues
–
show
The property
WBW\Bundle\HighchartsBun...ghchartsYAxis::$maxZoom has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
1026 | } |
||
1027 | |||
1028 | /** |
||
1029 | * Get the min. |
||
1030 | * |
||
1031 | * @return integer Returns the min. |
||
1032 | */ |
||
1033 | public function getMin() { |
||
1034 | return $this->min; |
||
1035 | } |
||
1036 | |||
1037 | /** |
||
1038 | * Get the min color. |
||
1039 | * |
||
1040 | * @return string Returns the min color. |
||
1041 | */ |
||
1042 | public function getMinColor() { |
||
1043 | return $this->minColor; |
||
1044 | } |
||
1045 | |||
1046 | /** |
||
1047 | * Get the min padding. |
||
1048 | * |
||
1049 | * @return integer Returns the min padding. |
||
1050 | */ |
||
1051 | public function getMinPadding() { |
||
1052 | return $this->minPadding; |
||
1053 | } |
||
1054 | |||
1055 | /** |
||
1056 | * Get the min range. |
||
1057 | * |
||
1058 | * @return integer Returns the min range. |
||
1059 | */ |
||
1060 | public function getMinRange() { |
||
1061 | return $this->minRange; |
||
1062 | } |
||
1063 | |||
1064 | /** |
||
1065 | * Get the min tick interval. |
||
1066 | * |
||
1067 | * @return integer Returns the min tick interval. |
||
1068 | */ |
||
1069 | public function getMinTickInterval() { |
||
1070 | return $this->minTickInterval; |
||
1071 | } |
||
1072 | |||
1073 | /** |
||
1074 | * Get the minor grid line color. |
||
1075 | * |
||
1076 | * @return string Returns the minor grid line color. |
||
1077 | */ |
||
1078 | public function getMinorGridLineColor() { |
||
1079 | return $this->minorGridLineColor; |
||
1080 | } |
||
1081 | |||
1082 | /** |
||
1083 | * Get the minor grid line dash style. |
||
1084 | * |
||
1085 | * @return string Returns the minor grid line dash style. |
||
1086 | */ |
||
1087 | public function getMinorGridLineDashStyle() { |
||
1088 | return $this->minorGridLineDashStyle; |
||
1089 | } |
||
1090 | |||
1091 | /** |
||
1092 | * Get the minor grid line width. |
||
1093 | * |
||
1094 | * @return integer Returns the minor grid line width. |
||
1095 | */ |
||
1096 | public function getMinorGridLineWidth() { |
||
1097 | return $this->minorGridLineWidth; |
||
1098 | } |
||
1099 | |||
1100 | /** |
||
1101 | * Get the minor tick color. |
||
1102 | * |
||
1103 | * @return string Returns the minor tick color. |
||
1104 | */ |
||
1105 | public function getMinorTickColor() { |
||
1106 | return $this->minorTickColor; |
||
1107 | } |
||
1108 | |||
1109 | /** |
||
1110 | * Get the minor tick interval. |
||
1111 | * |
||
1112 | * @return string|integer Returns the minor tick interval. |
||
1113 | */ |
||
1114 | public function getMinorTickInterval() { |
||
1115 | return $this->minorTickInterval; |
||
1116 | } |
||
1117 | |||
1118 | /** |
||
1119 | * Get the minor tick length. |
||
1120 | * |
||
1121 | * @return integer Returns the minor tick length. |
||
1122 | */ |
||
1123 | public function getMinorTickLength() { |
||
1124 | return $this->minorTickLength; |
||
1125 | } |
||
1126 | |||
1127 | /** |
||
1128 | * Get the minor tick position. |
||
1129 | * |
||
1130 | * @return string Returns the minor tick position. |
||
1131 | */ |
||
1132 | public function getMinorTickPosition() { |
||
1133 | return $this->minorTickPosition; |
||
1134 | } |
||
1135 | |||
1136 | /** |
||
1137 | * Get the minor tick width. |
||
1138 | * |
||
1139 | * @return integer Returns the minor tick width. |
||
1140 | */ |
||
1141 | public function getMinorTickWidth() { |
||
1142 | return $this->minorTickWidth; |
||
1143 | } |
||
1144 | |||
1145 | /** |
||
1146 | * Get the offset. |
||
1147 | * |
||
1148 | * @return integer Returns the offset. |
||
1149 | */ |
||
1150 | public function getOffset() { |
||
1151 | return $this->offset; |
||
1152 | } |
||
1153 | |||
1154 | /** |
||
1155 | * Get the opposite. |
||
1156 | * |
||
1157 | * @return boolean Returns the opposite. |
||
1158 | */ |
||
1159 | public function getOpposite() { |
||
1160 | return $this->opposite; |
||
1161 | } |
||
1162 | |||
1163 | /** |
||
1164 | * Get the plot bands. |
||
1165 | * |
||
1166 | * @return array Returns the plot bands. |
||
1167 | */ |
||
1168 | public function getPlotBands() { |
||
1169 | return $this->plotBands; |
||
1170 | } |
||
1171 | |||
1172 | /** |
||
1173 | * Get the plot lines. |
||
1174 | * |
||
1175 | * @return array Returns the plot lines. |
||
1176 | */ |
||
1177 | public function getPlotLines() { |
||
1178 | return $this->plotLines; |
||
1179 | } |
||
1180 | |||
1181 | /** |
||
1182 | * Get the reversed. |
||
1183 | * |
||
1184 | * @return boolean Returns the reversed. |
||
1185 | */ |
||
1186 | public function getReversed() { |
||
1187 | return $this->reversed; |
||
1188 | } |
||
1189 | |||
1190 | /** |
||
1191 | * Get the reversed stacks. |
||
1192 | * |
||
1193 | * @return boolean Returns the reversed stacks. |
||
1194 | */ |
||
1195 | public function getReversedStacks() { |
||
1196 | return $this->reversedStacks; |
||
1197 | } |
||
1198 | |||
1199 | /** |
||
1200 | * Get the show empty. |
||
1201 | * |
||
1202 | * @return boolean Returns the show empty. |
||
1203 | */ |
||
1204 | public function getShowEmpty() { |
||
1205 | return $this->showEmpty; |
||
1206 | } |
||
1207 | |||
1208 | /** |
||
1209 | * Get the show first label. |
||
1210 | * |
||
1211 | * @return boolean Returns the show first label. |
||
1212 | */ |
||
1213 | public function getShowFirstLabel() { |
||
1214 | return $this->showFirstLabel; |
||
1215 | } |
||
1216 | |||
1217 | /** |
||
1218 | * Get the show last label. |
||
1219 | * |
||
1220 | * @return boolean Returns the show last label. |
||
1221 | */ |
||
1222 | public function getShowLastLabel() { |
||
1223 | return $this->showLastLabel; |
||
1224 | } |
||
1225 | |||
1226 | /** |
||
1227 | * Get the soft max. |
||
1228 | * |
||
1229 | * @return integer Returns the soft max. |
||
1230 | */ |
||
1231 | public function getSoftMax() { |
||
1232 | return $this->softMax; |
||
1233 | } |
||
1234 | |||
1235 | /** |
||
1236 | * Get the soft min. |
||
1237 | * |
||
1238 | * @return integer Returns the soft min. |
||
1239 | */ |
||
1240 | public function getSoftMin() { |
||
1241 | return $this->softMin; |
||
1242 | } |
||
1243 | |||
1244 | /** |
||
1245 | * Get the stack labels. |
||
1246 | * |
||
1247 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsStackLabels Returns the stack labels. |
||
1248 | */ |
||
1249 | public function getStackLabels() { |
||
1250 | return $this->stackLabels; |
||
1251 | } |
||
1252 | |||
1253 | /** |
||
1254 | * Get the start of week. |
||
1255 | * |
||
1256 | * @return integer Returns the start of week. |
||
1257 | */ |
||
1258 | public function getStartOfWeek() { |
||
1259 | return $this->startOfWeek; |
||
1260 | } |
||
1261 | |||
1262 | /** |
||
1263 | * Get the start on tick. |
||
1264 | * |
||
1265 | * @return boolean Returns the start on tick. |
||
1266 | */ |
||
1267 | public function getStartOnTick() { |
||
1268 | return $this->startOnTick; |
||
1269 | } |
||
1270 | |||
1271 | /** |
||
1272 | * Get the stops. |
||
1273 | * |
||
1274 | * @return array Returns the stops. |
||
1275 | */ |
||
1276 | public function getStops() { |
||
1277 | return $this->stops; |
||
1278 | } |
||
1279 | |||
1280 | /** |
||
1281 | * Get the tick amount. |
||
1282 | * |
||
1283 | * @return integer Returns the tick amount. |
||
1284 | */ |
||
1285 | public function getTickAmount() { |
||
1286 | return $this->tickAmount; |
||
1287 | } |
||
1288 | |||
1289 | /** |
||
1290 | * Get the tick color. |
||
1291 | * |
||
1292 | * @return string Returns the tick color. |
||
1293 | */ |
||
1294 | public function getTickColor() { |
||
1295 | return $this->tickColor; |
||
1296 | } |
||
1297 | |||
1298 | /** |
||
1299 | * Get the tick interval. |
||
1300 | * |
||
1301 | * @return integer Returns the tick interval. |
||
1302 | */ |
||
1303 | public function getTickInterval() { |
||
1304 | return $this->tickInterval; |
||
1305 | } |
||
1306 | |||
1307 | /** |
||
1308 | * Get the tick length. |
||
1309 | * |
||
1310 | * @return integer Returns the tick length. |
||
1311 | */ |
||
1312 | public function getTickLength() { |
||
1313 | return $this->tickLength; |
||
1314 | } |
||
1315 | |||
1316 | /** |
||
1317 | * Get the tick pixel interval. |
||
1318 | * |
||
1319 | * @return integer Returns the tick pixel interval. |
||
1320 | */ |
||
1321 | public function getTickPixelInterval() { |
||
1322 | return $this->tickPixelInterval; |
||
1323 | } |
||
1324 | |||
1325 | /** |
||
1326 | * Get the tick position. |
||
1327 | * |
||
1328 | * @return string Returns the tick position. |
||
1329 | */ |
||
1330 | public function getTickPosition() { |
||
1331 | return $this->tickPosition; |
||
1332 | } |
||
1333 | |||
1334 | /** |
||
1335 | * Get the tick positioner. |
||
1336 | * |
||
1337 | * @return string Returns the tick positioner. |
||
1338 | */ |
||
1339 | public function getTickPositioner() { |
||
1340 | return $this->tickPositioner; |
||
1341 | } |
||
1342 | |||
1343 | /** |
||
1344 | * Get the tick positions. |
||
1345 | * |
||
1346 | * @return array Returns the tick positions. |
||
1347 | */ |
||
1348 | public function getTickPositions() { |
||
1349 | return $this->tickPositions; |
||
1350 | } |
||
1351 | |||
1352 | /** |
||
1353 | * Get the tick width. |
||
1354 | * |
||
1355 | * @return integer Returns the tick width. |
||
1356 | */ |
||
1357 | public function getTickWidth() { |
||
1358 | return $this->tickWidth; |
||
1359 | } |
||
1360 | |||
1361 | /** |
||
1362 | * Get the tickmark placement. |
||
1363 | * |
||
1364 | * @return string Returns the tickmark placement. |
||
1365 | */ |
||
1366 | public function getTickmarkPlacement() { |
||
1367 | return $this->tickmarkPlacement; |
||
1368 | } |
||
1369 | |||
1370 | /** |
||
1371 | * Get the title. |
||
1372 | * |
||
1373 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsTitle Returns the title. |
||
1374 | */ |
||
1375 | public function getTitle() { |
||
1376 | return $this->title; |
||
1377 | } |
||
1378 | |||
1379 | /** |
||
1380 | * Get the type. |
||
1381 | * |
||
1382 | * @return string Returns the type. |
||
1383 | */ |
||
1384 | public function getType() { |
||
1385 | return $this->type; |
||
1386 | } |
||
1387 | |||
1388 | /** |
||
1389 | * Get the unique names. |
||
1390 | * |
||
1391 | * @return boolean Returns the unique names. |
||
1392 | */ |
||
1393 | public function getUniqueNames() { |
||
1394 | return $this->uniqueNames; |
||
1395 | } |
||
1396 | |||
1397 | /** |
||
1398 | * Get the units. |
||
1399 | * |
||
1400 | * @return array Returns the units. |
||
1401 | */ |
||
1402 | public function getUnits() { |
||
1403 | return $this->units; |
||
1404 | } |
||
1405 | |||
1406 | /** |
||
1407 | * Get the visible. |
||
1408 | * |
||
1409 | * @return boolean Returns the visible. |
||
1410 | */ |
||
1411 | public function getVisible() { |
||
1412 | return $this->visible; |
||
1413 | } |
||
1414 | |||
1415 | /** |
||
1416 | * Serialize this instance. |
||
1417 | * |
||
1418 | * @return array Returns an array representing this instance. |
||
1419 | */ |
||
1420 | public function jsonSerialize() { |
||
1421 | return $this->toArray(); |
||
1422 | } |
||
1423 | |||
1424 | /** |
||
1425 | * Create a new crosshair. |
||
1426 | * |
||
1427 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsCrosshair Returns the crosshair. |
||
1428 | */ |
||
1429 | public function newCrosshair() { |
||
1430 | $this->crosshair = new \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsCrosshair(); |
||
1431 | return $this->crosshair; |
||
1432 | } |
||
1433 | |||
1434 | /** |
||
1435 | * Create a new events. |
||
1436 | * |
||
1437 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsEvents Returns the events. |
||
1438 | */ |
||
1439 | public function newEvents() { |
||
1440 | $this->events = new \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsEvents(); |
||
1441 | return $this->events; |
||
1442 | } |
||
1443 | |||
1444 | /** |
||
1445 | * Create a new labels. |
||
1446 | * |
||
1447 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsLabels Returns the labels. |
||
1448 | */ |
||
1449 | public function newLabels() { |
||
1450 | $this->labels = new \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsLabels(); |
||
1451 | return $this->labels; |
||
1452 | } |
||
1453 | |||
1454 | /** |
||
1455 | * Create a new stack labels. |
||
1456 | * |
||
1457 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsStackLabels Returns the stack labels. |
||
1458 | */ |
||
1459 | public function newStackLabels() { |
||
1460 | $this->stackLabels = new \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsStackLabels(); |
||
1461 | return $this->stackLabels; |
||
1462 | } |
||
1463 | |||
1464 | /** |
||
1465 | * Create a new title. |
||
1466 | * |
||
1467 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsTitle Returns the title. |
||
1468 | */ |
||
1469 | public function newTitle() { |
||
1470 | $this->title = new \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsTitle(); |
||
1471 | return $this->title; |
||
1472 | } |
||
1473 | |||
1474 | /** |
||
1475 | * Set the allow decimals. |
||
1476 | * |
||
1477 | * @param boolean $allowDecimals The allow decimals. |
||
1478 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1479 | */ |
||
1480 | public function setAllowDecimals($allowDecimals) { |
||
1481 | $this->allowDecimals = $allowDecimals; |
||
1482 | return $this; |
||
1483 | } |
||
1484 | |||
1485 | /** |
||
1486 | * Set the alternate grid color. |
||
1487 | * |
||
1488 | * @param string $alternateGridColor The alternate grid color. |
||
1489 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1490 | */ |
||
1491 | public function setAlternateGridColor($alternateGridColor) { |
||
1492 | $this->alternateGridColor = $alternateGridColor; |
||
1493 | return $this; |
||
1494 | } |
||
1495 | |||
1496 | /** |
||
1497 | * Set the angle. |
||
1498 | * |
||
1499 | * @param integer $angle The angle. |
||
1500 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1501 | */ |
||
1502 | public function setAngle($angle) { |
||
1503 | $this->angle = $angle; |
||
1504 | return $this; |
||
1505 | } |
||
1506 | |||
1507 | /** |
||
1508 | * Set the breaks. |
||
1509 | * |
||
1510 | * @param array $breaks The breaks. |
||
1511 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1512 | */ |
||
1513 | public function setBreaks(array $breaks = null) { |
||
1514 | $this->breaks = $breaks; |
||
0 ignored issues
–
show
It seems like
$breaks can be null . However, the property $breaks 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 ![]() |
|||
1515 | return $this; |
||
1516 | } |
||
1517 | |||
1518 | /** |
||
1519 | * Set the categories. |
||
1520 | * |
||
1521 | * @param array $categories The categories. |
||
1522 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1523 | */ |
||
1524 | public function setCategories(array $categories = null) { |
||
1525 | $this->categories = $categories; |
||
0 ignored issues
–
show
It seems like
$categories can be null . However, the property $categories 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 ![]() |
|||
1526 | return $this; |
||
1527 | } |
||
1528 | |||
1529 | /** |
||
1530 | * Set the ceiling. |
||
1531 | * |
||
1532 | * @param integer $ceiling The ceiling. |
||
1533 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1534 | */ |
||
1535 | public function setCeiling($ceiling) { |
||
1536 | $this->ceiling = $ceiling; |
||
1537 | return $this; |
||
1538 | } |
||
1539 | |||
1540 | /** |
||
1541 | * Set the class name. |
||
1542 | * |
||
1543 | * @param string $className The class name. |
||
1544 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1545 | */ |
||
1546 | public function setClassName($className) { |
||
1547 | $this->className = $className; |
||
1548 | return $this; |
||
1549 | } |
||
1550 | |||
1551 | /** |
||
1552 | * Set the crosshair. |
||
1553 | * |
||
1554 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsCrosshair $crosshair The crosshair. |
||
1555 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1556 | */ |
||
1557 | public function setCrosshair(\WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsCrosshair $crosshair = null) { |
||
1558 | $this->crosshair = $crosshair; |
||
1559 | return $this; |
||
1560 | } |
||
1561 | |||
1562 | /** |
||
1563 | * Set the date time label formats. |
||
1564 | * |
||
1565 | * @param array $dateTimeLabelFormats The date time label formats. |
||
1566 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1567 | */ |
||
1568 | public function setDateTimeLabelFormats(array $dateTimeLabelFormats = null) { |
||
1569 | $this->dateTimeLabelFormats = $dateTimeLabelFormats; |
||
0 ignored issues
–
show
It seems like
$dateTimeLabelFormats can be null . However, the property $dateTimeLabelFormats 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 ![]() |
|||
1570 | return $this; |
||
1571 | } |
||
1572 | |||
1573 | /** |
||
1574 | * Set the description. |
||
1575 | * |
||
1576 | * @param string $description The description. |
||
1577 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1578 | */ |
||
1579 | public function setDescription($description) { |
||
1580 | $this->description = $description; |
||
1581 | return $this; |
||
1582 | } |
||
1583 | |||
1584 | /** |
||
1585 | * Set the end on tick. |
||
1586 | * |
||
1587 | * @param boolean $endOnTick The end on tick. |
||
1588 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1589 | */ |
||
1590 | public function setEndOnTick($endOnTick) { |
||
1591 | $this->endOnTick = $endOnTick; |
||
1592 | return $this; |
||
1593 | } |
||
1594 | |||
1595 | /** |
||
1596 | * Set the events. |
||
1597 | * |
||
1598 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsEvents $events The events. |
||
1599 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1600 | */ |
||
1601 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsEvents $events = null) { |
||
1602 | $this->events = $events; |
||
1603 | return $this; |
||
1604 | } |
||
1605 | |||
1606 | /** |
||
1607 | * Set the floor. |
||
1608 | * |
||
1609 | * @param integer $floor The floor. |
||
1610 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1611 | */ |
||
1612 | public function setFloor($floor) { |
||
1613 | $this->floor = $floor; |
||
1614 | return $this; |
||
1615 | } |
||
1616 | |||
1617 | /** |
||
1618 | * Set the grid line color. |
||
1619 | * |
||
1620 | * @param string $gridLineColor The grid line color. |
||
1621 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1622 | */ |
||
1623 | public function setGridLineColor($gridLineColor) { |
||
1624 | $this->gridLineColor = $gridLineColor; |
||
1625 | return $this; |
||
1626 | } |
||
1627 | |||
1628 | /** |
||
1629 | * Set the grid line dash style. |
||
1630 | * |
||
1631 | * @param string $gridLineDashStyle The grid line dash style. |
||
1632 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1633 | */ |
||
1634 | public function setGridLineDashStyle($gridLineDashStyle) { |
||
1635 | switch ($gridLineDashStyle) { |
||
1636 | case "Dash": |
||
1637 | case "DashDot": |
||
1638 | case "Dot": |
||
1639 | case "LongDash": |
||
1640 | case "LongDashDot": |
||
1641 | case "LongDashDotDot": |
||
1642 | case "ShortDash": |
||
1643 | case "ShortDashDot": |
||
1644 | case "ShortDashDotDot": |
||
1645 | case "ShortDot": |
||
1646 | case "Solid": |
||
1647 | $this->gridLineDashStyle = $gridLineDashStyle; |
||
1648 | break; |
||
1649 | } |
||
1650 | return $this; |
||
1651 | } |
||
1652 | |||
1653 | /** |
||
1654 | * Set the grid line interpolation. |
||
1655 | * |
||
1656 | * @param string $gridLineInterpolation The grid line interpolation. |
||
1657 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1658 | */ |
||
1659 | public function setGridLineInterpolation($gridLineInterpolation) { |
||
1660 | switch ($gridLineInterpolation) { |
||
1661 | case "circle": |
||
1662 | case "polygon": |
||
1663 | $this->gridLineInterpolation = $gridLineInterpolation; |
||
1664 | break; |
||
1665 | } |
||
1666 | return $this; |
||
1667 | } |
||
1668 | |||
1669 | /** |
||
1670 | * Set the grid line width. |
||
1671 | * |
||
1672 | * @param integer $gridLineWidth The grid line width. |
||
1673 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1674 | */ |
||
1675 | public function setGridLineWidth($gridLineWidth) { |
||
1676 | $this->gridLineWidth = $gridLineWidth; |
||
1677 | return $this; |
||
1678 | } |
||
1679 | |||
1680 | /** |
||
1681 | * Set the grid z index. |
||
1682 | * |
||
1683 | * @param integer $gridZIndex The grid z index. |
||
1684 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1685 | */ |
||
1686 | public function setGridZIndex($gridZIndex) { |
||
1687 | $this->gridZIndex = $gridZIndex; |
||
1688 | return $this; |
||
1689 | } |
||
1690 | |||
1691 | /** |
||
1692 | * Set the id. |
||
1693 | * |
||
1694 | * @param string $id The id. |
||
1695 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1696 | */ |
||
1697 | public function setId($id) { |
||
1698 | $this->id = $id; |
||
1699 | return $this; |
||
1700 | } |
||
1701 | |||
1702 | /** |
||
1703 | * Set the labels. |
||
1704 | * |
||
1705 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsLabels $labels The labels. |
||
1706 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1707 | */ |
||
1708 | public function setLabels(\WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsLabels $labels = null) { |
||
1709 | $this->labels = $labels; |
||
1710 | return $this; |
||
1711 | } |
||
1712 | |||
1713 | /** |
||
1714 | * Set the line color. |
||
1715 | * |
||
1716 | * @param string $lineColor The line color. |
||
1717 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1718 | */ |
||
1719 | public function setLineColor($lineColor) { |
||
1720 | $this->lineColor = $lineColor; |
||
1721 | return $this; |
||
1722 | } |
||
1723 | |||
1724 | /** |
||
1725 | * Set the line width. |
||
1726 | * |
||
1727 | * @param integer $lineWidth The line width. |
||
1728 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1729 | */ |
||
1730 | public function setLineWidth($lineWidth) { |
||
1731 | $this->lineWidth = $lineWidth; |
||
1732 | return $this; |
||
1733 | } |
||
1734 | |||
1735 | /** |
||
1736 | * Set the linked to. |
||
1737 | * |
||
1738 | * @param integer $linkedTo The linked to. |
||
1739 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1740 | */ |
||
1741 | public function setLinkedTo($linkedTo) { |
||
1742 | $this->linkedTo = $linkedTo; |
||
1743 | return $this; |
||
1744 | } |
||
1745 | |||
1746 | /** |
||
1747 | * Set the max. |
||
1748 | * |
||
1749 | * @param integer $max The max. |
||
1750 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1751 | */ |
||
1752 | public function setMax($max) { |
||
1753 | $this->max = $max; |
||
1754 | return $this; |
||
1755 | } |
||
1756 | |||
1757 | /** |
||
1758 | * Set the max color. |
||
1759 | * |
||
1760 | * @param string $maxColor The max color. |
||
1761 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1762 | */ |
||
1763 | public function setMaxColor($maxColor) { |
||
1764 | $this->maxColor = $maxColor; |
||
1765 | return $this; |
||
1766 | } |
||
1767 | |||
1768 | /** |
||
1769 | * Set the max padding. |
||
1770 | * |
||
1771 | * @param integer $maxPadding The max padding. |
||
1772 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1773 | */ |
||
1774 | public function setMaxPadding($maxPadding) { |
||
1775 | $this->maxPadding = $maxPadding; |
||
1776 | return $this; |
||
1777 | } |
||
1778 | |||
1779 | /** |
||
1780 | * Set the max zoom. |
||
1781 | * |
||
1782 | * @param integer $maxZoom The max zoom. |
||
1783 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1784 | * @deprecated |
||
1785 | */ |
||
1786 | public function setMaxZoom($maxZoom) { |
||
1787 | $this->maxZoom = $maxZoom; |
||
0 ignored issues
–
show
The property
WBW\Bundle\HighchartsBun...ghchartsYAxis::$maxZoom has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
1788 | return $this; |
||
1789 | } |
||
1790 | |||
1791 | /** |
||
1792 | * Set the min. |
||
1793 | * |
||
1794 | * @param integer $min The min. |
||
1795 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1796 | */ |
||
1797 | public function setMin($min) { |
||
1798 | $this->min = $min; |
||
1799 | return $this; |
||
1800 | } |
||
1801 | |||
1802 | /** |
||
1803 | * Set the min color. |
||
1804 | * |
||
1805 | * @param string $minColor The min color. |
||
1806 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1807 | */ |
||
1808 | public function setMinColor($minColor) { |
||
1809 | $this->minColor = $minColor; |
||
1810 | return $this; |
||
1811 | } |
||
1812 | |||
1813 | /** |
||
1814 | * Set the min padding. |
||
1815 | * |
||
1816 | * @param integer $minPadding The min padding. |
||
1817 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1818 | */ |
||
1819 | public function setMinPadding($minPadding) { |
||
1820 | $this->minPadding = $minPadding; |
||
1821 | return $this; |
||
1822 | } |
||
1823 | |||
1824 | /** |
||
1825 | * Set the min range. |
||
1826 | * |
||
1827 | * @param integer $minRange The min range. |
||
1828 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1829 | */ |
||
1830 | public function setMinRange($minRange) { |
||
1831 | $this->minRange = $minRange; |
||
1832 | return $this; |
||
1833 | } |
||
1834 | |||
1835 | /** |
||
1836 | * Set the min tick interval. |
||
1837 | * |
||
1838 | * @param integer $minTickInterval The min tick interval. |
||
1839 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1840 | */ |
||
1841 | public function setMinTickInterval($minTickInterval) { |
||
1842 | $this->minTickInterval = $minTickInterval; |
||
1843 | return $this; |
||
1844 | } |
||
1845 | |||
1846 | /** |
||
1847 | * Set the minor grid line color. |
||
1848 | * |
||
1849 | * @param string $minorGridLineColor The minor grid line color. |
||
1850 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1851 | */ |
||
1852 | public function setMinorGridLineColor($minorGridLineColor) { |
||
1853 | $this->minorGridLineColor = $minorGridLineColor; |
||
1854 | return $this; |
||
1855 | } |
||
1856 | |||
1857 | /** |
||
1858 | * Set the minor grid line dash style. |
||
1859 | * |
||
1860 | * @param string $minorGridLineDashStyle The minor grid line dash style. |
||
1861 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1862 | */ |
||
1863 | public function setMinorGridLineDashStyle($minorGridLineDashStyle) { |
||
1864 | switch ($minorGridLineDashStyle) { |
||
1865 | case "Dash": |
||
1866 | case "DashDot": |
||
1867 | case "Dot": |
||
1868 | case "LongDash": |
||
1869 | case "LongDashDot": |
||
1870 | case "LongDashDotDot": |
||
1871 | case "ShortDash": |
||
1872 | case "ShortDashDot": |
||
1873 | case "ShortDashDotDot": |
||
1874 | case "ShortDot": |
||
1875 | case "Solid": |
||
1876 | $this->minorGridLineDashStyle = $minorGridLineDashStyle; |
||
1877 | break; |
||
1878 | } |
||
1879 | return $this; |
||
1880 | } |
||
1881 | |||
1882 | /** |
||
1883 | * Set the minor grid line width. |
||
1884 | * |
||
1885 | * @param integer $minorGridLineWidth The minor grid line width. |
||
1886 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1887 | */ |
||
1888 | public function setMinorGridLineWidth($minorGridLineWidth) { |
||
1889 | $this->minorGridLineWidth = $minorGridLineWidth; |
||
1890 | return $this; |
||
1891 | } |
||
1892 | |||
1893 | /** |
||
1894 | * Set the minor tick color. |
||
1895 | * |
||
1896 | * @param string $minorTickColor The minor tick color. |
||
1897 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1898 | */ |
||
1899 | public function setMinorTickColor($minorTickColor) { |
||
1900 | $this->minorTickColor = $minorTickColor; |
||
1901 | return $this; |
||
1902 | } |
||
1903 | |||
1904 | /** |
||
1905 | * Set the minor tick interval. |
||
1906 | * |
||
1907 | * @param string|integer $minorTickInterval The minor tick interval. |
||
1908 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1909 | */ |
||
1910 | public function setMinorTickInterval($minorTickInterval) { |
||
1911 | $this->minorTickInterval = $minorTickInterval; |
||
1912 | return $this; |
||
1913 | } |
||
1914 | |||
1915 | /** |
||
1916 | * Set the minor tick length. |
||
1917 | * |
||
1918 | * @param integer $minorTickLength The minor tick length. |
||
1919 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1920 | */ |
||
1921 | public function setMinorTickLength($minorTickLength) { |
||
1922 | $this->minorTickLength = $minorTickLength; |
||
1923 | return $this; |
||
1924 | } |
||
1925 | |||
1926 | /** |
||
1927 | * Set the minor tick position. |
||
1928 | * |
||
1929 | * @param string $minorTickPosition The minor tick position. |
||
1930 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1931 | */ |
||
1932 | public function setMinorTickPosition($minorTickPosition) { |
||
1933 | switch ($minorTickPosition) { |
||
1934 | case "inside": |
||
1935 | case "outside": |
||
1936 | $this->minorTickPosition = $minorTickPosition; |
||
1937 | break; |
||
1938 | } |
||
1939 | return $this; |
||
1940 | } |
||
1941 | |||
1942 | /** |
||
1943 | * Set the minor tick width. |
||
1944 | * |
||
1945 | * @param integer $minorTickWidth The minor tick width. |
||
1946 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1947 | */ |
||
1948 | public function setMinorTickWidth($minorTickWidth) { |
||
1949 | $this->minorTickWidth = $minorTickWidth; |
||
1950 | return $this; |
||
1951 | } |
||
1952 | |||
1953 | /** |
||
1954 | * Set the offset. |
||
1955 | * |
||
1956 | * @param integer $offset The offset. |
||
1957 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1958 | */ |
||
1959 | public function setOffset($offset) { |
||
1960 | $this->offset = $offset; |
||
1961 | return $this; |
||
1962 | } |
||
1963 | |||
1964 | /** |
||
1965 | * Set the opposite. |
||
1966 | * |
||
1967 | * @param boolean $opposite The opposite. |
||
1968 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1969 | */ |
||
1970 | public function setOpposite($opposite) { |
||
1971 | $this->opposite = $opposite; |
||
1972 | return $this; |
||
1973 | } |
||
1974 | |||
1975 | /** |
||
1976 | * Set the plot bands. |
||
1977 | * |
||
1978 | * @param array $plotBands The plot bands. |
||
1979 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1980 | */ |
||
1981 | public function setPlotBands(array $plotBands = null) { |
||
1982 | $this->plotBands = $plotBands; |
||
0 ignored issues
–
show
It seems like
$plotBands can be null . However, the property $plotBands 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 ![]() |
|||
1983 | return $this; |
||
1984 | } |
||
1985 | |||
1986 | /** |
||
1987 | * Set the plot lines. |
||
1988 | * |
||
1989 | * @param array $plotLines The plot lines. |
||
1990 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
1991 | */ |
||
1992 | public function setPlotLines(array $plotLines = null) { |
||
1993 | $this->plotLines = $plotLines; |
||
0 ignored issues
–
show
It seems like
$plotLines can be null . However, the property $plotLines 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 ![]() |
|||
1994 | return $this; |
||
1995 | } |
||
1996 | |||
1997 | /** |
||
1998 | * Set the reversed. |
||
1999 | * |
||
2000 | * @param boolean $reversed The reversed. |
||
2001 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2002 | */ |
||
2003 | public function setReversed($reversed) { |
||
2004 | $this->reversed = $reversed; |
||
2005 | return $this; |
||
2006 | } |
||
2007 | |||
2008 | /** |
||
2009 | * Set the reversed stacks. |
||
2010 | * |
||
2011 | * @param boolean $reversedStacks The reversed stacks. |
||
2012 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2013 | */ |
||
2014 | public function setReversedStacks($reversedStacks) { |
||
2015 | $this->reversedStacks = $reversedStacks; |
||
2016 | return $this; |
||
2017 | } |
||
2018 | |||
2019 | /** |
||
2020 | * Set the show empty. |
||
2021 | * |
||
2022 | * @param boolean $showEmpty The show empty. |
||
2023 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2024 | */ |
||
2025 | public function setShowEmpty($showEmpty) { |
||
2026 | $this->showEmpty = $showEmpty; |
||
2027 | return $this; |
||
2028 | } |
||
2029 | |||
2030 | /** |
||
2031 | * Set the show first label. |
||
2032 | * |
||
2033 | * @param boolean $showFirstLabel The show first label. |
||
2034 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2035 | */ |
||
2036 | public function setShowFirstLabel($showFirstLabel) { |
||
2037 | $this->showFirstLabel = $showFirstLabel; |
||
2038 | return $this; |
||
2039 | } |
||
2040 | |||
2041 | /** |
||
2042 | * Set the show last label. |
||
2043 | * |
||
2044 | * @param boolean $showLastLabel The show last label. |
||
2045 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2046 | */ |
||
2047 | public function setShowLastLabel($showLastLabel) { |
||
2048 | $this->showLastLabel = $showLastLabel; |
||
2049 | return $this; |
||
2050 | } |
||
2051 | |||
2052 | /** |
||
2053 | * Set the soft max. |
||
2054 | * |
||
2055 | * @param integer $softMax The soft max. |
||
2056 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2057 | */ |
||
2058 | public function setSoftMax($softMax) { |
||
2059 | $this->softMax = $softMax; |
||
2060 | return $this; |
||
2061 | } |
||
2062 | |||
2063 | /** |
||
2064 | * Set the soft min. |
||
2065 | * |
||
2066 | * @param integer $softMin The soft min. |
||
2067 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2068 | */ |
||
2069 | public function setSoftMin($softMin) { |
||
2070 | $this->softMin = $softMin; |
||
2071 | return $this; |
||
2072 | } |
||
2073 | |||
2074 | /** |
||
2075 | * Set the stack labels. |
||
2076 | * |
||
2077 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsStackLabels $stackLabels The stack labels. |
||
2078 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2079 | */ |
||
2080 | public function setStackLabels(\WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsStackLabels $stackLabels = null) { |
||
2081 | $this->stackLabels = $stackLabels; |
||
2082 | return $this; |
||
2083 | } |
||
2084 | |||
2085 | /** |
||
2086 | * Set the start of week. |
||
2087 | * |
||
2088 | * @param integer $startOfWeek The start of week. |
||
2089 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2090 | */ |
||
2091 | public function setStartOfWeek($startOfWeek) { |
||
2092 | $this->startOfWeek = $startOfWeek; |
||
2093 | return $this; |
||
2094 | } |
||
2095 | |||
2096 | /** |
||
2097 | * Set the start on tick. |
||
2098 | * |
||
2099 | * @param boolean $startOnTick The start on tick. |
||
2100 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2101 | */ |
||
2102 | public function setStartOnTick($startOnTick) { |
||
2103 | $this->startOnTick = $startOnTick; |
||
2104 | return $this; |
||
2105 | } |
||
2106 | |||
2107 | /** |
||
2108 | * Set the stops. |
||
2109 | * |
||
2110 | * @param array $stops The stops. |
||
2111 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2112 | */ |
||
2113 | public function setStops(array $stops = null) { |
||
2114 | $this->stops = $stops; |
||
0 ignored issues
–
show
It seems like
$stops can be null . However, the property $stops 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 ![]() |
|||
2115 | return $this; |
||
2116 | } |
||
2117 | |||
2118 | /** |
||
2119 | * Set the tick amount. |
||
2120 | * |
||
2121 | * @param integer $tickAmount The tick amount. |
||
2122 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2123 | */ |
||
2124 | public function setTickAmount($tickAmount) { |
||
2125 | $this->tickAmount = $tickAmount; |
||
2126 | return $this; |
||
2127 | } |
||
2128 | |||
2129 | /** |
||
2130 | * Set the tick color. |
||
2131 | * |
||
2132 | * @param string $tickColor The tick color. |
||
2133 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2134 | */ |
||
2135 | public function setTickColor($tickColor) { |
||
2136 | $this->tickColor = $tickColor; |
||
2137 | return $this; |
||
2138 | } |
||
2139 | |||
2140 | /** |
||
2141 | * Set the tick interval. |
||
2142 | * |
||
2143 | * @param integer $tickInterval The tick interval. |
||
2144 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2145 | */ |
||
2146 | public function setTickInterval($tickInterval) { |
||
2147 | $this->tickInterval = $tickInterval; |
||
2148 | return $this; |
||
2149 | } |
||
2150 | |||
2151 | /** |
||
2152 | * Set the tick length. |
||
2153 | * |
||
2154 | * @param integer $tickLength The tick length. |
||
2155 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2156 | */ |
||
2157 | public function setTickLength($tickLength) { |
||
2158 | $this->tickLength = $tickLength; |
||
2159 | return $this; |
||
2160 | } |
||
2161 | |||
2162 | /** |
||
2163 | * Set the tick pixel interval. |
||
2164 | * |
||
2165 | * @param integer $tickPixelInterval The tick pixel interval. |
||
2166 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2167 | */ |
||
2168 | public function setTickPixelInterval($tickPixelInterval) { |
||
2169 | $this->tickPixelInterval = $tickPixelInterval; |
||
2170 | return $this; |
||
2171 | } |
||
2172 | |||
2173 | /** |
||
2174 | * Set the tick position. |
||
2175 | * |
||
2176 | * @param string $tickPosition The tick position. |
||
2177 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2178 | */ |
||
2179 | public function setTickPosition($tickPosition) { |
||
2180 | switch ($tickPosition) { |
||
2181 | case "inside": |
||
2182 | case "outside": |
||
2183 | $this->tickPosition = $tickPosition; |
||
2184 | break; |
||
2185 | } |
||
2186 | return $this; |
||
2187 | } |
||
2188 | |||
2189 | /** |
||
2190 | * Set the tick positioner. |
||
2191 | * |
||
2192 | * @param string $tickPositioner The tick positioner. |
||
2193 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2194 | */ |
||
2195 | public function setTickPositioner($tickPositioner) { |
||
2196 | $this->tickPositioner = $tickPositioner; |
||
2197 | return $this; |
||
2198 | } |
||
2199 | |||
2200 | /** |
||
2201 | * Set the tick positions. |
||
2202 | * |
||
2203 | * @param array $tickPositions The tick positions. |
||
2204 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2205 | */ |
||
2206 | public function setTickPositions(array $tickPositions = null) { |
||
2207 | $this->tickPositions = $tickPositions; |
||
0 ignored issues
–
show
It seems like
$tickPositions can be null . However, the property $tickPositions 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 ![]() |
|||
2208 | return $this; |
||
2209 | } |
||
2210 | |||
2211 | /** |
||
2212 | * Set the tick width. |
||
2213 | * |
||
2214 | * @param integer $tickWidth The tick width. |
||
2215 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2216 | */ |
||
2217 | public function setTickWidth($tickWidth) { |
||
2218 | $this->tickWidth = $tickWidth; |
||
2219 | return $this; |
||
2220 | } |
||
2221 | |||
2222 | /** |
||
2223 | * Set the tickmark placement. |
||
2224 | * |
||
2225 | * @param string $tickmarkPlacement The tickmark placement. |
||
2226 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2227 | */ |
||
2228 | public function setTickmarkPlacement($tickmarkPlacement) { |
||
2229 | switch ($tickmarkPlacement) { |
||
2230 | case null: |
||
2231 | case "between": |
||
2232 | case "on": |
||
2233 | $this->tickmarkPlacement = $tickmarkPlacement; |
||
2234 | break; |
||
2235 | } |
||
2236 | return $this; |
||
2237 | } |
||
2238 | |||
2239 | /** |
||
2240 | * Set the title. |
||
2241 | * |
||
2242 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsTitle $title The title. |
||
2243 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2244 | */ |
||
2245 | public function setTitle(\WBW\Bundle\HighchartsBundle\API\Chart\YAxis\HighchartsTitle $title = null) { |
||
2246 | $this->title = $title; |
||
2247 | return $this; |
||
2248 | } |
||
2249 | |||
2250 | /** |
||
2251 | * Set the type. |
||
2252 | * |
||
2253 | * @param string $type The type. |
||
2254 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2255 | */ |
||
2256 | public function setType($type) { |
||
2257 | switch ($type) { |
||
2258 | case "category": |
||
2259 | case "datetime": |
||
2260 | case "linear": |
||
2261 | case "logarithmic": |
||
2262 | $this->type = $type; |
||
2263 | break; |
||
2264 | } |
||
2265 | return $this; |
||
2266 | } |
||
2267 | |||
2268 | /** |
||
2269 | * Set the unique names. |
||
2270 | * |
||
2271 | * @param boolean $uniqueNames The unique names. |
||
2272 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2273 | */ |
||
2274 | public function setUniqueNames($uniqueNames) { |
||
2275 | $this->uniqueNames = $uniqueNames; |
||
2276 | return $this; |
||
2277 | } |
||
2278 | |||
2279 | /** |
||
2280 | * Set the units. |
||
2281 | * |
||
2282 | * @param array $units The units. |
||
2283 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2284 | */ |
||
2285 | public function setUnits(array $units = null) { |
||
2286 | $this->units = $units; |
||
0 ignored issues
–
show
It seems like
$units can be null . However, the property $units 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 ![]() |
|||
2287 | return $this; |
||
2288 | } |
||
2289 | |||
2290 | /** |
||
2291 | * Set the visible. |
||
2292 | * |
||
2293 | * @param boolean $visible The visible. |
||
2294 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsYAxis Returns the highcharts y axis. |
||
2295 | */ |
||
2296 | public function setVisible($visible) { |
||
2297 | $this->visible = $visible; |
||
2298 | return $this; |
||
2299 | } |
||
2300 | |||
2301 | /** |
||
2302 | * Convert into an array representing this instance. |
||
2303 | * |
||
2304 | * @return array Returns an array representing this instance. |
||
2305 | */ |
||
2306 | public function toArray() { |
||
2307 | |||
2308 | // Initialize the output. |
||
2309 | $output = []; |
||
2310 | |||
2311 | // Set the allow decimals. |
||
2312 | ArrayUtility::set($output, "allowDecimals", $this->allowDecimals, [null]); |
||
2313 | |||
2314 | // Set the alternate grid color. |
||
2315 | ArrayUtility::set($output, "alternateGridColor", $this->alternateGridColor, [null]); |
||
2316 | |||
2317 | // Set the angle. |
||
2318 | ArrayUtility::set($output, "angle", $this->angle, [null]); |
||
2319 | |||
2320 | // Set the breaks. |
||
2321 | ArrayUtility::set($output, "breaks", $this->breaks, [null]); |
||
2322 | |||
2323 | // Set the categories. |
||
2324 | ArrayUtility::set($output, "categories", $this->categories, [null]); |
||
2325 | |||
2326 | // Set the ceiling. |
||
2327 | ArrayUtility::set($output, "ceiling", $this->ceiling, [null]); |
||
2328 | |||
2329 | // Set the class name. |
||
2330 | ArrayUtility::set($output, "className", $this->className, [null]); |
||
2331 | |||
2332 | // Set the crosshair. |
||
2333 | if (null !== $this->crosshair) { |
||
2334 | ArrayUtility::set($output, "crosshair", $this->crosshair->toArray(), []); |
||
2335 | } |
||
2336 | |||
2337 | // Set the date time label formats. |
||
2338 | ArrayUtility::set($output, "dateTimeLabelFormats", $this->dateTimeLabelFormats, [null]); |
||
2339 | |||
2340 | // Set the description. |
||
2341 | ArrayUtility::set($output, "description", $this->description, [null]); |
||
2342 | |||
2343 | // Set the end on tick. |
||
2344 | ArrayUtility::set($output, "endOnTick", $this->endOnTick, [null]); |
||
2345 | |||
2346 | // Set the events. |
||
2347 | if (null !== $this->events) { |
||
2348 | ArrayUtility::set($output, "events", $this->events->toArray(), []); |
||
2349 | } |
||
2350 | |||
2351 | // Set the floor. |
||
2352 | ArrayUtility::set($output, "floor", $this->floor, [null]); |
||
2353 | |||
2354 | // Set the grid line color. |
||
2355 | ArrayUtility::set($output, "gridLineColor", $this->gridLineColor, [null]); |
||
2356 | |||
2357 | // Set the grid line dash style. |
||
2358 | ArrayUtility::set($output, "gridLineDashStyle", $this->gridLineDashStyle, [null]); |
||
2359 | |||
2360 | // Set the grid line interpolation. |
||
2361 | ArrayUtility::set($output, "gridLineInterpolation", $this->gridLineInterpolation, [null]); |
||
2362 | |||
2363 | // Set the grid line width. |
||
2364 | ArrayUtility::set($output, "gridLineWidth", $this->gridLineWidth, [null]); |
||
2365 | |||
2366 | // Set the grid z index. |
||
2367 | ArrayUtility::set($output, "gridZIndex", $this->gridZIndex, [null]); |
||
2368 | |||
2369 | // Set the id. |
||
2370 | ArrayUtility::set($output, "id", $this->id, [null]); |
||
2371 | |||
2372 | // Set the labels. |
||
2373 | if (null !== $this->labels) { |
||
2374 | ArrayUtility::set($output, "labels", $this->labels->toArray(), []); |
||
2375 | } |
||
2376 | |||
2377 | // Set the line color. |
||
2378 | ArrayUtility::set($output, "lineColor", $this->lineColor, [null]); |
||
2379 | |||
2380 | // Set the line width. |
||
2381 | ArrayUtility::set($output, "lineWidth", $this->lineWidth, [null]); |
||
2382 | |||
2383 | // Set the linked to. |
||
2384 | ArrayUtility::set($output, "linkedTo", $this->linkedTo, [null]); |
||
2385 | |||
2386 | // Set the max. |
||
2387 | ArrayUtility::set($output, "max", $this->max, [null]); |
||
2388 | |||
2389 | // Set the max color. |
||
2390 | ArrayUtility::set($output, "maxColor", $this->maxColor, [null]); |
||
2391 | |||
2392 | // Set the max padding. |
||
2393 | ArrayUtility::set($output, "maxPadding", $this->maxPadding, [null]); |
||
2394 | |||
2395 | // Set the max zoom. |
||
2396 | ArrayUtility::set($output, "maxZoom", $this->maxZoom, [null]); |
||
0 ignored issues
–
show
The property
WBW\Bundle\HighchartsBun...ghchartsYAxis::$maxZoom has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
2397 | |||
2398 | // Set the min. |
||
2399 | ArrayUtility::set($output, "min", $this->min, [null]); |
||
2400 | |||
2401 | // Set the min color. |
||
2402 | ArrayUtility::set($output, "minColor", $this->minColor, [null]); |
||
2403 | |||
2404 | // Set the min padding. |
||
2405 | ArrayUtility::set($output, "minPadding", $this->minPadding, [null]); |
||
2406 | |||
2407 | // Set the min range. |
||
2408 | ArrayUtility::set($output, "minRange", $this->minRange, [null]); |
||
2409 | |||
2410 | // Set the min tick interval. |
||
2411 | ArrayUtility::set($output, "minTickInterval", $this->minTickInterval, [null]); |
||
2412 | |||
2413 | // Set the minor grid line color. |
||
2414 | ArrayUtility::set($output, "minorGridLineColor", $this->minorGridLineColor, [null]); |
||
2415 | |||
2416 | // Set the minor grid line dash style. |
||
2417 | ArrayUtility::set($output, "minorGridLineDashStyle", $this->minorGridLineDashStyle, [null]); |
||
2418 | |||
2419 | // Set the minor grid line width. |
||
2420 | ArrayUtility::set($output, "minorGridLineWidth", $this->minorGridLineWidth, [null]); |
||
2421 | |||
2422 | // Set the minor tick color. |
||
2423 | ArrayUtility::set($output, "minorTickColor", $this->minorTickColor, [null]); |
||
2424 | |||
2425 | // Set the minor tick interval. |
||
2426 | ArrayUtility::set($output, "minorTickInterval", $this->minorTickInterval, [null]); |
||
2427 | |||
2428 | // Set the minor tick length. |
||
2429 | ArrayUtility::set($output, "minorTickLength", $this->minorTickLength, [null]); |
||
2430 | |||
2431 | // Set the minor tick position. |
||
2432 | ArrayUtility::set($output, "minorTickPosition", $this->minorTickPosition, [null]); |
||
2433 | |||
2434 | // Set the minor tick width. |
||
2435 | ArrayUtility::set($output, "minorTickWidth", $this->minorTickWidth, [null]); |
||
2436 | |||
2437 | // Set the offset. |
||
2438 | ArrayUtility::set($output, "offset", $this->offset, [null]); |
||
2439 | |||
2440 | // Set the opposite. |
||
2441 | ArrayUtility::set($output, "opposite", $this->opposite, [null]); |
||
2442 | |||
2443 | // Set the plot bands. |
||
2444 | ArrayUtility::set($output, "plotBands", $this->plotBands, [null]); |
||
2445 | |||
2446 | // Set the plot lines. |
||
2447 | ArrayUtility::set($output, "plotLines", $this->plotLines, [null]); |
||
2448 | |||
2449 | // Set the reversed. |
||
2450 | ArrayUtility::set($output, "reversed", $this->reversed, [null]); |
||
2451 | |||
2452 | // Set the reversed stacks. |
||
2453 | ArrayUtility::set($output, "reversedStacks", $this->reversedStacks, [null]); |
||
2454 | |||
2455 | // Set the show empty. |
||
2456 | ArrayUtility::set($output, "showEmpty", $this->showEmpty, [null]); |
||
2457 | |||
2458 | // Set the show first label. |
||
2459 | ArrayUtility::set($output, "showFirstLabel", $this->showFirstLabel, [null]); |
||
2460 | |||
2461 | // Set the show last label. |
||
2462 | ArrayUtility::set($output, "showLastLabel", $this->showLastLabel, [null]); |
||
2463 | |||
2464 | // Set the soft max. |
||
2465 | ArrayUtility::set($output, "softMax", $this->softMax, [null]); |
||
2466 | |||
2467 | // Set the soft min. |
||
2468 | ArrayUtility::set($output, "softMin", $this->softMin, [null]); |
||
2469 | |||
2470 | // Set the stack labels. |
||
2471 | if (null !== $this->stackLabels) { |
||
2472 | ArrayUtility::set($output, "stackLabels", $this->stackLabels->toArray(), []); |
||
2473 | } |
||
2474 | |||
2475 | // Set the start of week. |
||
2476 | ArrayUtility::set($output, "startOfWeek", $this->startOfWeek, [null]); |
||
2477 | |||
2478 | // Set the start on tick. |
||
2479 | ArrayUtility::set($output, "startOnTick", $this->startOnTick, [null]); |
||
2480 | |||
2481 | // Set the stops. |
||
2482 | ArrayUtility::set($output, "stops", $this->stops, [null]); |
||
2483 | |||
2484 | // Set the tick amount. |
||
2485 | ArrayUtility::set($output, "tickAmount", $this->tickAmount, [null]); |
||
2486 | |||
2487 | // Set the tick color. |
||
2488 | ArrayUtility::set($output, "tickColor", $this->tickColor, [null]); |
||
2489 | |||
2490 | // Set the tick interval. |
||
2491 | ArrayUtility::set($output, "tickInterval", $this->tickInterval, [null]); |
||
2492 | |||
2493 | // Set the tick length. |
||
2494 | ArrayUtility::set($output, "tickLength", $this->tickLength, [null]); |
||
2495 | |||
2496 | // Set the tick pixel interval. |
||
2497 | ArrayUtility::set($output, "tickPixelInterval", $this->tickPixelInterval, [null]); |
||
2498 | |||
2499 | // Set the tick position. |
||
2500 | ArrayUtility::set($output, "tickPosition", $this->tickPosition, [null]); |
||
2501 | |||
2502 | // Set the tick positioner. |
||
2503 | ArrayUtility::set($output, "tickPositioner", $this->tickPositioner, [null]); |
||
2504 | |||
2505 | // Set the tick positions. |
||
2506 | ArrayUtility::set($output, "tickPositions", $this->tickPositions, [null]); |
||
2507 | |||
2508 | // Set the tick width. |
||
2509 | ArrayUtility::set($output, "tickWidth", $this->tickWidth, [null]); |
||
2510 | |||
2511 | // Set the tickmark placement. |
||
2512 | ArrayUtility::set($output, "tickmarkPlacement", $this->tickmarkPlacement, [null]); |
||
2513 | |||
2514 | // Set the title. |
||
2515 | if (null !== $this->title) { |
||
2516 | ArrayUtility::set($output, "title", $this->title->toArray(), []); |
||
2517 | } |
||
2518 | |||
2519 | // Set the type. |
||
2520 | ArrayUtility::set($output, "type", $this->type, [null]); |
||
2521 | |||
2522 | // Set the unique names. |
||
2523 | ArrayUtility::set($output, "uniqueNames", $this->uniqueNames, [null]); |
||
2524 | |||
2525 | // Set the units. |
||
2526 | ArrayUtility::set($output, "units", $this->units, [null]); |
||
2527 | |||
2528 | // Set the visible. |
||
2529 | ArrayUtility::set($output, "visible", $this->visible, [null]); |
||
2530 | |||
2531 | // Return the output. |
||
2532 | return $output; |
||
2533 | } |
||
2534 | |||
2535 | } |
||
2536 |
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..