1 | <?php |
||
25 | final class HighchartsCredits implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Enabled. |
||
29 | * |
||
30 | * @var boolean |
||
31 | */ |
||
32 | private $enabled = true; |
||
33 | |||
34 | /** |
||
35 | * Href. |
||
36 | * |
||
37 | * @var string |
||
38 | */ |
||
39 | private $href = "http://www.highcharts.com"; |
||
40 | |||
41 | /** |
||
42 | * Position. |
||
43 | * |
||
44 | * @var array |
||
45 | * @since 2.1 |
||
46 | */ |
||
47 | private $position; |
||
48 | |||
49 | /** |
||
50 | * Style. |
||
51 | * |
||
52 | * @var array |
||
53 | */ |
||
54 | private $style = ["cursor" => "pointer", "color" => "#999999", "fontSize" => "10px"]; |
||
55 | |||
56 | /** |
||
57 | * Text. |
||
58 | * |
||
59 | * @var string |
||
60 | */ |
||
61 | private $text = "Highcharts.com"; |
||
62 | |||
63 | /** |
||
64 | * Constructor. |
||
65 | * |
||
66 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
67 | */ |
||
68 | public function __construct($ignoreDefaultValues = true) { |
||
73 | |||
74 | /** |
||
75 | * Clear. |
||
76 | * |
||
77 | * @return void |
||
78 | */ |
||
79 | public function clear() { |
||
96 | |||
97 | /** |
||
98 | * Get the enabled. |
||
99 | * |
||
100 | * @return boolean Returns the enabled. |
||
101 | */ |
||
102 | public function getEnabled() { |
||
105 | |||
106 | /** |
||
107 | * Get the href. |
||
108 | * |
||
109 | * @return string Returns the href. |
||
110 | */ |
||
111 | public function getHref() { |
||
114 | |||
115 | /** |
||
116 | * Get the position. |
||
117 | * |
||
118 | * @return array Returns the position. |
||
119 | */ |
||
120 | public function getPosition() { |
||
123 | |||
124 | /** |
||
125 | * Get the style. |
||
126 | * |
||
127 | * @return array Returns the style. |
||
128 | */ |
||
129 | public function getStyle() { |
||
132 | |||
133 | /** |
||
134 | * Get the text. |
||
135 | * |
||
136 | * @return string Returns the text. |
||
137 | */ |
||
138 | public function getText() { |
||
141 | |||
142 | /** |
||
143 | * Serialize this instance. |
||
144 | * |
||
145 | * @return array Returns an array representing this instance. |
||
146 | */ |
||
147 | public function jsonSerialize() { |
||
150 | |||
151 | /** |
||
152 | * Set the enabled. |
||
153 | * |
||
154 | * @param boolean $enabled The enabled. |
||
155 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsCredits Returns the highcharts credits. |
||
156 | */ |
||
157 | public function setEnabled($enabled) { |
||
161 | |||
162 | /** |
||
163 | * Set the href. |
||
164 | * |
||
165 | * @param string $href The href. |
||
166 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsCredits Returns the highcharts credits. |
||
167 | */ |
||
168 | public function setHref($href) { |
||
172 | |||
173 | /** |
||
174 | * Set the position. |
||
175 | * |
||
176 | * @param array $position The position. |
||
177 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsCredits Returns the highcharts credits. |
||
178 | */ |
||
179 | public function setPosition(array $position = null) { |
||
183 | |||
184 | /** |
||
185 | * Set the style. |
||
186 | * |
||
187 | * @param array $style The style. |
||
188 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsCredits Returns the highcharts credits. |
||
189 | */ |
||
190 | public function setStyle(array $style = null) { |
||
194 | |||
195 | /** |
||
196 | * Set the text. |
||
197 | * |
||
198 | * @param string $text The text. |
||
199 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsCredits Returns the highcharts credits. |
||
200 | */ |
||
201 | public function setText($text) { |
||
205 | |||
206 | /** |
||
207 | * Convert into an array representing this instance. |
||
208 | * |
||
209 | * @return array Returns an array representing this instance. |
||
210 | */ |
||
211 | public function toArray() { |
||
234 | |||
235 | } |
||
236 |
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..