1 | <?php |
||
25 | final class HighchartsItems implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Html. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | private $html; |
||
33 | |||
34 | /** |
||
35 | * Style. |
||
36 | * |
||
37 | * @var array |
||
38 | */ |
||
39 | private $style; |
||
40 | |||
41 | /** |
||
42 | * Constructor. |
||
43 | * |
||
44 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
45 | */ |
||
46 | public function __construct($ignoreDefaultValues = true) { |
||
51 | |||
52 | /** |
||
53 | * Clear. |
||
54 | * |
||
55 | * @return void |
||
56 | */ |
||
57 | public function clear() { |
||
65 | |||
66 | /** |
||
67 | * Get the html. |
||
68 | * |
||
69 | * @return string Returns the html. |
||
70 | */ |
||
71 | public function getHtml() { |
||
74 | |||
75 | /** |
||
76 | * Get the style. |
||
77 | * |
||
78 | * @return array Returns the style. |
||
79 | */ |
||
80 | public function getStyle() { |
||
83 | |||
84 | /** |
||
85 | * Serialize this instance. |
||
86 | * |
||
87 | * @return array Returns an array representing this instance. |
||
88 | */ |
||
89 | public function jsonSerialize() { |
||
92 | |||
93 | /** |
||
94 | * Set the html. |
||
95 | * |
||
96 | * @param string $html The html. |
||
97 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Labels\HighchartsItems Returns the highcharts items. |
||
98 | */ |
||
99 | public function setHtml($html) { |
||
103 | |||
104 | /** |
||
105 | * Set the style. |
||
106 | * |
||
107 | * @param array $style The style. |
||
108 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Labels\HighchartsItems Returns the highcharts items. |
||
109 | */ |
||
110 | public function setStyle(array $style = null) { |
||
114 | |||
115 | /** |
||
116 | * Convert into an array representing this instance. |
||
117 | * |
||
118 | * @return array Returns an array representing this instance. |
||
119 | */ |
||
120 | public function toArray() { |
||
134 | |||
135 | } |
||
136 |
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..