1 | <?php |
||
25 | final class HighchartsNoData implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Attr. |
||
29 | * |
||
30 | * @var array |
||
31 | * @since 3.0.8 |
||
32 | */ |
||
33 | private $attr; |
||
34 | |||
35 | /** |
||
36 | * Position. |
||
37 | * |
||
38 | * @var array |
||
39 | * @since 3.0.8 |
||
40 | */ |
||
41 | private $position = ["x" => 0, "y" => 0, "align" => "center", "verticalAlign" => "middle"]; |
||
42 | |||
43 | /** |
||
44 | * Style. |
||
45 | * |
||
46 | * @var array |
||
47 | * @since 3.0.8 |
||
48 | */ |
||
49 | private $style = ["fontSize" => "12px", "fontWeight" => "bold", "color" => "#666666"]; |
||
50 | |||
51 | /** |
||
52 | * Use HTML. |
||
53 | * |
||
54 | * @var boolean |
||
55 | * @since 4.1.10 |
||
56 | */ |
||
57 | private $useHTML = false; |
||
58 | |||
59 | /** |
||
60 | * Constructor. |
||
61 | * |
||
62 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
63 | */ |
||
64 | public function __construct($ignoreDefaultValues = true) { |
||
69 | |||
70 | /** |
||
71 | * Clear. |
||
72 | * |
||
73 | * @return void |
||
74 | */ |
||
75 | public function clear() { |
||
89 | |||
90 | /** |
||
91 | * Get the attr. |
||
92 | * |
||
93 | * @return array Returns the attr. |
||
94 | */ |
||
95 | public function getAttr() { |
||
98 | |||
99 | /** |
||
100 | * Get the position. |
||
101 | * |
||
102 | * @return array Returns the position. |
||
103 | */ |
||
104 | public function getPosition() { |
||
107 | |||
108 | /** |
||
109 | * Get the style. |
||
110 | * |
||
111 | * @return array Returns the style. |
||
112 | */ |
||
113 | public function getStyle() { |
||
116 | |||
117 | /** |
||
118 | * Get the use HTML. |
||
119 | * |
||
120 | * @return boolean Returns the use HTML. |
||
121 | */ |
||
122 | public function getUseHTML() { |
||
125 | |||
126 | /** |
||
127 | * Serialize this instance. |
||
128 | * |
||
129 | * @return array Returns an array representing this instance. |
||
130 | */ |
||
131 | public function jsonSerialize() { |
||
134 | |||
135 | /** |
||
136 | * Set the attr. |
||
137 | * |
||
138 | * @param array $attr The attr. |
||
139 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsNoData Returns the highcharts no data. |
||
140 | */ |
||
141 | public function setAttr(array $attr = null) { |
||
145 | |||
146 | /** |
||
147 | * Set the position. |
||
148 | * |
||
149 | * @param array $position The position. |
||
150 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsNoData Returns the highcharts no data. |
||
151 | */ |
||
152 | public function setPosition(array $position = null) { |
||
156 | |||
157 | /** |
||
158 | * Set the style. |
||
159 | * |
||
160 | * @param array $style The style. |
||
161 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsNoData Returns the highcharts no data. |
||
162 | */ |
||
163 | public function setStyle(array $style = null) { |
||
167 | |||
168 | /** |
||
169 | * Set the use HTML. |
||
170 | * |
||
171 | * @param boolean $useHTML The use HTML. |
||
172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsNoData Returns the highcharts no data. |
||
173 | */ |
||
174 | public function setUseHTML($useHTML) { |
||
178 | |||
179 | /** |
||
180 | * Convert into an array representing this instance. |
||
181 | * |
||
182 | * @return array Returns an array representing this instance. |
||
183 | */ |
||
184 | public function toArray() { |
||
204 | |||
205 | } |
||
206 |
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..