1 | <?php |
||
25 | final class HighchartsPane implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Background. |
||
29 | * |
||
30 | * @var array |
||
31 | * @since 2.3.0 |
||
32 | */ |
||
33 | private $background; |
||
34 | |||
35 | /** |
||
36 | * Center. |
||
37 | * |
||
38 | * @var array |
||
39 | * @since 2.3.0 |
||
40 | */ |
||
41 | private $center = ["50%", "50%"]; |
||
42 | |||
43 | /** |
||
44 | * End angle. |
||
45 | * |
||
46 | * @var integer |
||
47 | * @since 2.3.0 |
||
48 | */ |
||
49 | private $endAngle; |
||
50 | |||
51 | /** |
||
52 | * Size. |
||
53 | * |
||
54 | * @var integer|string |
||
55 | */ |
||
56 | private $size = "85%"; |
||
57 | |||
58 | /** |
||
59 | * Start angle. |
||
60 | * |
||
61 | * @var integer |
||
62 | * @since 2.3.0 |
||
63 | */ |
||
64 | private $startAngle; |
||
65 | |||
66 | /** |
||
67 | * Constructor. |
||
68 | * |
||
69 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
70 | */ |
||
71 | public function __construct($ignoreDefaultValues = true) { |
||
76 | |||
77 | /** |
||
78 | * Clear. |
||
79 | * |
||
80 | * @return void |
||
81 | */ |
||
82 | public function clear() { |
||
99 | |||
100 | /** |
||
101 | * Get the background. |
||
102 | * |
||
103 | * @return array Returns the background. |
||
104 | */ |
||
105 | public function getBackground() { |
||
108 | |||
109 | /** |
||
110 | * Get the center. |
||
111 | * |
||
112 | * @return array Returns the center. |
||
113 | */ |
||
114 | public function getCenter() { |
||
117 | |||
118 | /** |
||
119 | * Get the end angle. |
||
120 | * |
||
121 | * @return integer Returns the end angle. |
||
122 | */ |
||
123 | public function getEndAngle() { |
||
126 | |||
127 | /** |
||
128 | * Get the size. |
||
129 | * |
||
130 | * @return integer|string Returns the size. |
||
131 | */ |
||
132 | public function getSize() { |
||
135 | |||
136 | /** |
||
137 | * Get the start angle. |
||
138 | * |
||
139 | * @return integer Returns the start angle. |
||
140 | */ |
||
141 | public function getStartAngle() { |
||
144 | |||
145 | /** |
||
146 | * Serialize this instance. |
||
147 | * |
||
148 | * @return array Returns an array representing this instance. |
||
149 | */ |
||
150 | public function jsonSerialize() { |
||
153 | |||
154 | /** |
||
155 | * Set the background. |
||
156 | * |
||
157 | * @param array $background The background. |
||
158 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPane Returns the highcharts pane. |
||
159 | */ |
||
160 | public function setBackground(array $background = null) { |
||
164 | |||
165 | /** |
||
166 | * Set the center. |
||
167 | * |
||
168 | * @param array $center The center. |
||
169 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPane Returns the highcharts pane. |
||
170 | */ |
||
171 | public function setCenter(array $center = null) { |
||
175 | |||
176 | /** |
||
177 | * Set the end angle. |
||
178 | * |
||
179 | * @param integer $endAngle The end angle. |
||
180 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPane Returns the highcharts pane. |
||
181 | */ |
||
182 | public function setEndAngle($endAngle) { |
||
186 | |||
187 | /** |
||
188 | * Set the size. |
||
189 | * |
||
190 | * @param integer|string $size The size. |
||
191 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPane Returns the highcharts pane. |
||
192 | */ |
||
193 | public function setSize($size) { |
||
197 | |||
198 | /** |
||
199 | * Set the start angle. |
||
200 | * |
||
201 | * @param integer $startAngle The start angle. |
||
202 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPane Returns the highcharts pane. |
||
203 | */ |
||
204 | public function setStartAngle($startAngle) { |
||
208 | |||
209 | /** |
||
210 | * Convert into an array representing this instance. |
||
211 | * |
||
212 | * @return array Returns an array representing this instance. |
||
213 | */ |
||
214 | public function toArray() { |
||
237 | |||
238 | } |
||
239 |
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..