@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * |
65 | 65 | * @return $this |
66 | 66 | */ |
67 | - public function setDisplay( $display ) |
|
67 | + public function setDisplay($display) |
|
68 | 68 | { |
69 | 69 | $this->display = !!$display; |
70 | 70 | |
@@ -84,9 +84,9 @@ discard block |
||
84 | 84 | * |
85 | 85 | * @return $this |
86 | 86 | */ |
87 | - public function setPosition( $position ) |
|
87 | + public function setPosition($position) |
|
88 | 88 | { |
89 | - $this->position = strval( $position ); |
|
89 | + $this->position = strval($position); |
|
90 | 90 | |
91 | 91 | return $this; |
92 | 92 | } |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * |
105 | 105 | * @return $this |
106 | 106 | */ |
107 | - public function setFullWidth( $fullWidth ) |
|
107 | + public function setFullWidth($fullWidth) |
|
108 | 108 | { |
109 | 109 | $this->fullWidth = !!$fullWidth; |
110 | 110 | |
@@ -124,9 +124,9 @@ discard block |
||
124 | 124 | * |
125 | 125 | * @return $this |
126 | 126 | */ |
127 | - public function setOnClick( $onClick ) |
|
127 | + public function setOnClick($onClick) |
|
128 | 128 | { |
129 | - $this->onClick = new Expr( strval( $onClick ) ); |
|
129 | + $this->onClick = new Expr(strval($onClick)); |
|
130 | 130 | |
131 | 131 | return $this; |
132 | 132 | } |
@@ -144,9 +144,9 @@ discard block |
||
144 | 144 | * |
145 | 145 | * @return $this |
146 | 146 | */ |
147 | - public function setOnHover( $onHover ) |
|
147 | + public function setOnHover($onHover) |
|
148 | 148 | { |
149 | - $this->onHover = new Expr( strval( $onHover ) ); |
|
149 | + $this->onHover = new Expr(strval($onHover)); |
|
150 | 150 | |
151 | 151 | return $this; |
152 | 152 | } |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | */ |
157 | 157 | public function labels() |
158 | 158 | { |
159 | - if( is_null( $this->labels ) ) { |
|
159 | + if (is_null($this->labels)) { |
|
160 | 160 | $this->labels = new LabelsCollection(); |
161 | 161 | } |
162 | 162 | |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | * |
177 | 177 | * @return $this |
178 | 178 | */ |
179 | - public function setReverse( $reverse ) |
|
179 | + public function setReverse($reverse) |
|
180 | 180 | { |
181 | 181 | $this->reverse = !!$reverse; |
182 | 182 | |
@@ -188,6 +188,6 @@ discard block |
||
188 | 188 | */ |
189 | 189 | public function jsonSerialize() |
190 | 190 | { |
191 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
191 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
192 | 192 | } |
193 | 193 | } |
194 | 194 | \ No newline at end of file |
@@ -48,9 +48,9 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @return $this |
50 | 50 | */ |
51 | - public function setMode( $mode ) |
|
51 | + public function setMode($mode) |
|
52 | 52 | { |
53 | - $this->mode = strval( $mode ); |
|
53 | + $this->mode = strval($mode); |
|
54 | 54 | |
55 | 55 | return $this; |
56 | 56 | } |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * |
69 | 69 | * @return $this |
70 | 70 | */ |
71 | - public function setIntersect( $intersect ) |
|
71 | + public function setIntersect($intersect) |
|
72 | 72 | { |
73 | 73 | $this->intersect = !!$intersect; |
74 | 74 | |
@@ -88,9 +88,9 @@ discard block |
||
88 | 88 | * |
89 | 89 | * @return $this |
90 | 90 | */ |
91 | - public function setAnimationDuration( $animationDuration ) |
|
91 | + public function setAnimationDuration($animationDuration) |
|
92 | 92 | { |
93 | - $this->animationDuration = intval( $animationDuration ); |
|
93 | + $this->animationDuration = intval($animationDuration); |
|
94 | 94 | |
95 | 95 | return $this; |
96 | 96 | } |
@@ -108,9 +108,9 @@ discard block |
||
108 | 108 | * |
109 | 109 | * @return $this |
110 | 110 | */ |
111 | - public function setOnHover( $onHover ) |
|
111 | + public function setOnHover($onHover) |
|
112 | 112 | { |
113 | - $this->onHover = new Expr( strval( $onHover ) ); |
|
113 | + $this->onHover = new Expr(strval($onHover)); |
|
114 | 114 | |
115 | 115 | return $this; |
116 | 116 | } |
@@ -120,6 +120,6 @@ discard block |
||
120 | 120 | */ |
121 | 121 | public function jsonSerialize() |
122 | 122 | { |
123 | - return Json::encode( $this->getArrayCopy() ); |
|
123 | + return Json::encode($this->getArrayCopy()); |
|
124 | 124 | } |
125 | 125 | } |
126 | 126 | \ No newline at end of file |
@@ -88,9 +88,9 @@ discard block |
||
88 | 88 | * |
89 | 89 | * @return $this |
90 | 90 | */ |
91 | - public function setBeforeTitle( $beforeTitle ) |
|
91 | + public function setBeforeTitle($beforeTitle) |
|
92 | 92 | { |
93 | - $this->beforeTitle = new Expr( strval( $beforeTitle ) ); |
|
93 | + $this->beforeTitle = new Expr(strval($beforeTitle)); |
|
94 | 94 | |
95 | 95 | return $this; |
96 | 96 | } |
@@ -108,9 +108,9 @@ discard block |
||
108 | 108 | * |
109 | 109 | * @return $this |
110 | 110 | */ |
111 | - public function setTitle( $title ) |
|
111 | + public function setTitle($title) |
|
112 | 112 | { |
113 | - $this->title = new Expr( strval( $title ) ); |
|
113 | + $this->title = new Expr(strval($title)); |
|
114 | 114 | |
115 | 115 | return $this; |
116 | 116 | } |
@@ -128,9 +128,9 @@ discard block |
||
128 | 128 | * |
129 | 129 | * @return $this |
130 | 130 | */ |
131 | - public function setAfterTitle( $afterTitle ) |
|
131 | + public function setAfterTitle($afterTitle) |
|
132 | 132 | { |
133 | - $this->afterTitle = new Expr( strval( $afterTitle ) ); |
|
133 | + $this->afterTitle = new Expr(strval($afterTitle)); |
|
134 | 134 | |
135 | 135 | return $this; |
136 | 136 | } |
@@ -148,9 +148,9 @@ discard block |
||
148 | 148 | * |
149 | 149 | * @return $this |
150 | 150 | */ |
151 | - public function setBeforeLabel( $beforeLabel ) |
|
151 | + public function setBeforeLabel($beforeLabel) |
|
152 | 152 | { |
153 | - $this->beforeLabel = new Expr( strval( $beforeLabel ) ); |
|
153 | + $this->beforeLabel = new Expr(strval($beforeLabel)); |
|
154 | 154 | |
155 | 155 | return $this; |
156 | 156 | } |
@@ -168,9 +168,9 @@ discard block |
||
168 | 168 | * |
169 | 169 | * @return $this |
170 | 170 | */ |
171 | - public function setLabel( $label ) |
|
171 | + public function setLabel($label) |
|
172 | 172 | { |
173 | - $this->label = new Expr( strval( $label ) ); |
|
173 | + $this->label = new Expr(strval($label)); |
|
174 | 174 | |
175 | 175 | return $this; |
176 | 176 | } |
@@ -188,9 +188,9 @@ discard block |
||
188 | 188 | * |
189 | 189 | * @return $this |
190 | 190 | */ |
191 | - public function setLabelColor( $labelColor ) |
|
191 | + public function setLabelColor($labelColor) |
|
192 | 192 | { |
193 | - $this->labelColor = new Expr( strval( $labelColor ) ); |
|
193 | + $this->labelColor = new Expr(strval($labelColor)); |
|
194 | 194 | |
195 | 195 | return $this; |
196 | 196 | } |
@@ -208,9 +208,9 @@ discard block |
||
208 | 208 | * |
209 | 209 | * @return $this |
210 | 210 | */ |
211 | - public function setAfterLabel( $afterLabel ) |
|
211 | + public function setAfterLabel($afterLabel) |
|
212 | 212 | { |
213 | - $this->afterLabel = new Expr( strval( $afterLabel ) ); |
|
213 | + $this->afterLabel = new Expr(strval($afterLabel)); |
|
214 | 214 | |
215 | 215 | return $this; |
216 | 216 | } |
@@ -228,9 +228,9 @@ discard block |
||
228 | 228 | * |
229 | 229 | * @return $this |
230 | 230 | */ |
231 | - public function setAfterBody( $afterBody ) |
|
231 | + public function setAfterBody($afterBody) |
|
232 | 232 | { |
233 | - $this->afterBody = new Expr( strval( $afterBody ) ); |
|
233 | + $this->afterBody = new Expr(strval($afterBody)); |
|
234 | 234 | |
235 | 235 | return $this; |
236 | 236 | } |
@@ -248,9 +248,9 @@ discard block |
||
248 | 248 | * |
249 | 249 | * @return $this |
250 | 250 | */ |
251 | - public function setBeforeFooter( $beforeFooter ) |
|
251 | + public function setBeforeFooter($beforeFooter) |
|
252 | 252 | { |
253 | - $this->beforeFooter = new Expr( strval( $beforeFooter ) ); |
|
253 | + $this->beforeFooter = new Expr(strval($beforeFooter)); |
|
254 | 254 | |
255 | 255 | return $this; |
256 | 256 | } |
@@ -268,9 +268,9 @@ discard block |
||
268 | 268 | * |
269 | 269 | * @return $this |
270 | 270 | */ |
271 | - public function setFooter( $footer ) |
|
271 | + public function setFooter($footer) |
|
272 | 272 | { |
273 | - $this->footer = new Expr( strval( $footer ) ); |
|
273 | + $this->footer = new Expr(strval($footer)); |
|
274 | 274 | |
275 | 275 | return $this; |
276 | 276 | } |
@@ -288,9 +288,9 @@ discard block |
||
288 | 288 | * |
289 | 289 | * @return $this |
290 | 290 | */ |
291 | - public function setAfterFooter( $afterFooter ) |
|
291 | + public function setAfterFooter($afterFooter) |
|
292 | 292 | { |
293 | - $this->afterFooter = new Expr( strval( $afterFooter ) ); |
|
293 | + $this->afterFooter = new Expr(strval($afterFooter)); |
|
294 | 294 | |
295 | 295 | return $this; |
296 | 296 | } |
@@ -308,9 +308,9 @@ discard block |
||
308 | 308 | * |
309 | 309 | * @return $this |
310 | 310 | */ |
311 | - public function setDataPoints( $dataPoints ) |
|
311 | + public function setDataPoints($dataPoints) |
|
312 | 312 | { |
313 | - $this->dataPoints = new Expr( strval( $dataPoints ) ); |
|
313 | + $this->dataPoints = new Expr(strval($dataPoints)); |
|
314 | 314 | |
315 | 315 | return $this; |
316 | 316 | } |
@@ -320,6 +320,6 @@ discard block |
||
320 | 320 | */ |
321 | 321 | public function jsonSerialize() |
322 | 322 | { |
323 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
323 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
324 | 324 | } |
325 | 325 | } |
326 | 326 | \ No newline at end of file |
@@ -31,8 +31,8 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public function getAnimation() |
33 | 33 | { |
34 | - if( is_null( $this->animation ) ) { |
|
35 | - $this->animation = new PieAnimation(); |
|
34 | + if (is_null($this->animation)) { |
|
35 | + $this->animation = new PieAnimation(); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | return $this->animation; |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * |
52 | 52 | * @return $this |
53 | 53 | */ |
54 | - public function setCutoutPercentage( $cutoutPercentage ) |
|
54 | + public function setCutoutPercentage($cutoutPercentage) |
|
55 | 55 | { |
56 | 56 | $this->cutoutPercentage = $cutoutPercentage; |
57 | 57 | |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * |
72 | 72 | * @return $this |
73 | 73 | */ |
74 | - public function setRotation( $rotation ) |
|
74 | + public function setRotation($rotation) |
|
75 | 75 | { |
76 | 76 | $this->rotation = $rotation; |
77 | 77 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @return $this |
93 | 93 | */ |
94 | - public function setCircumference( $circumference ) |
|
94 | + public function setCircumference($circumference) |
|
95 | 95 | { |
96 | 96 | $this->circumference = $circumference; |
97 | 97 |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @return $this |
50 | 50 | */ |
51 | - public function setDuration( $duration ) |
|
51 | + public function setDuration($duration) |
|
52 | 52 | { |
53 | 53 | $this->duration = $duration; |
54 | 54 | |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * |
69 | 69 | * @return $this |
70 | 70 | */ |
71 | - public function setEasing( $easing ) |
|
71 | + public function setEasing($easing) |
|
72 | 72 | { |
73 | 73 | $this->easing = $easing; |
74 | 74 | |
@@ -88,9 +88,9 @@ discard block |
||
88 | 88 | * |
89 | 89 | * @return $this |
90 | 90 | */ |
91 | - public function setOnProgress( $onProgress ) |
|
91 | + public function setOnProgress($onProgress) |
|
92 | 92 | { |
93 | - $this->onProgress = new Expr( strval( $onProgress ) ); |
|
93 | + $this->onProgress = new Expr(strval($onProgress)); |
|
94 | 94 | |
95 | 95 | return $this; |
96 | 96 | } |
@@ -108,9 +108,9 @@ discard block |
||
108 | 108 | * |
109 | 109 | * @return $this |
110 | 110 | */ |
111 | - public function setOnComplete( $onComplete ) |
|
111 | + public function setOnComplete($onComplete) |
|
112 | 112 | { |
113 | - $this->onComplete = new Expr( strval( $onComplete ) ); |
|
113 | + $this->onComplete = new Expr(strval($onComplete)); |
|
114 | 114 | |
115 | 115 | return $this; |
116 | 116 | } |
@@ -120,6 +120,6 @@ discard block |
||
120 | 120 | */ |
121 | 121 | public function jsonSerialize() |
122 | 122 | { |
123 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
123 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
124 | 124 | } |
125 | 125 | } |
126 | 126 | \ No newline at end of file |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * |
73 | 73 | * @return $this |
74 | 74 | */ |
75 | - public function setDisplay( $display ) |
|
75 | + public function setDisplay($display) |
|
76 | 76 | { |
77 | 77 | $this->display = !!$display; |
78 | 78 | |
@@ -92,9 +92,9 @@ discard block |
||
92 | 92 | * |
93 | 93 | * @return $this |
94 | 94 | */ |
95 | - public function setPosition( $position ) |
|
95 | + public function setPosition($position) |
|
96 | 96 | { |
97 | - $this->position = strval( $position ); |
|
97 | + $this->position = strval($position); |
|
98 | 98 | |
99 | 99 | return $this; |
100 | 100 | } |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * |
113 | 113 | * @return $this |
114 | 114 | */ |
115 | - public function setFullWidth( $fullWidth ) |
|
115 | + public function setFullWidth($fullWidth) |
|
116 | 116 | { |
117 | 117 | $this->fullWidth = !!$fullWidth; |
118 | 118 | |
@@ -132,9 +132,9 @@ discard block |
||
132 | 132 | * |
133 | 133 | * @return $this |
134 | 134 | */ |
135 | - public function setFontSize( $fontSize ) |
|
135 | + public function setFontSize($fontSize) |
|
136 | 136 | { |
137 | - $this->fontSize = intval( $fontSize ); |
|
137 | + $this->fontSize = intval($fontSize); |
|
138 | 138 | |
139 | 139 | return $this; |
140 | 140 | } |
@@ -152,9 +152,9 @@ discard block |
||
152 | 152 | * |
153 | 153 | * @return $this |
154 | 154 | */ |
155 | - public function setFontFamily( $fontFamily ) |
|
155 | + public function setFontFamily($fontFamily) |
|
156 | 156 | { |
157 | - $this->fontFamily = strval( $fontFamily ); |
|
157 | + $this->fontFamily = strval($fontFamily); |
|
158 | 158 | |
159 | 159 | return $this; |
160 | 160 | } |
@@ -172,9 +172,9 @@ discard block |
||
172 | 172 | * |
173 | 173 | * @return $this |
174 | 174 | */ |
175 | - public function setFontColor( $fontColor ) |
|
175 | + public function setFontColor($fontColor) |
|
176 | 176 | { |
177 | - $this->fontColor = strval( $fontColor ); |
|
177 | + $this->fontColor = strval($fontColor); |
|
178 | 178 | |
179 | 179 | return $this; |
180 | 180 | } |
@@ -192,9 +192,9 @@ discard block |
||
192 | 192 | * |
193 | 193 | * @return $this |
194 | 194 | */ |
195 | - public function setFontStyle( $fontStyle ) |
|
195 | + public function setFontStyle($fontStyle) |
|
196 | 196 | { |
197 | - $this->fontStyle = strval( $fontStyle ); |
|
197 | + $this->fontStyle = strval($fontStyle); |
|
198 | 198 | |
199 | 199 | return $this; |
200 | 200 | } |
@@ -212,9 +212,9 @@ discard block |
||
212 | 212 | * |
213 | 213 | * @return $this |
214 | 214 | */ |
215 | - public function setPadding( $padding ) |
|
215 | + public function setPadding($padding) |
|
216 | 216 | { |
217 | - $this->padding = intval( $padding ); |
|
217 | + $this->padding = intval($padding); |
|
218 | 218 | |
219 | 219 | return $this; |
220 | 220 | } |
@@ -232,9 +232,9 @@ discard block |
||
232 | 232 | * |
233 | 233 | * @return $this |
234 | 234 | */ |
235 | - public function setText( $text ) |
|
235 | + public function setText($text) |
|
236 | 236 | { |
237 | - $this->text = strval( $text ); |
|
237 | + $this->text = strval($text); |
|
238 | 238 | |
239 | 239 | return $this; |
240 | 240 | } |
@@ -244,6 +244,6 @@ discard block |
||
244 | 244 | */ |
245 | 245 | function jsonSerialize() |
246 | 246 | { |
247 | - return Json::encode( $this->getArrayCopy() ); |
|
247 | + return Json::encode($this->getArrayCopy()); |
|
248 | 248 | } |
249 | 249 | } |
250 | 250 | \ No newline at end of file |
@@ -23,9 +23,9 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * @param int $padding |
25 | 25 | */ |
26 | - public function setPadding( $padding ) |
|
26 | + public function setPadding($padding) |
|
27 | 27 | { |
28 | - $this->padding = intval( $padding ); |
|
28 | + $this->padding = intval($padding); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -41,8 +41,8 @@ discard block |
||
41 | 41 | */ |
42 | 42 | public function padding() |
43 | 43 | { |
44 | - if( is_null( $this->padding ) ) { |
|
45 | - $this->padding = new Padding(); |
|
44 | + if (is_null($this->padding)) { |
|
45 | + $this->padding = new Padding(); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | return $this->padding; |
@@ -53,6 +53,6 @@ discard block |
||
53 | 53 | */ |
54 | 54 | public function jsonSerialize() |
55 | 55 | { |
56 | - return Json::encode( $this->getArrayCopy() ); |
|
56 | + return Json::encode($this->getArrayCopy()); |
|
57 | 57 | } |
58 | 58 | } |
59 | 59 | \ No newline at end of file |
@@ -16,10 +16,10 @@ discard block |
||
16 | 16 | */ |
17 | 17 | public function getArrayCopy() |
18 | 18 | { |
19 | - $rows = []; |
|
20 | - foreach( $this->data as $row ) { |
|
19 | + $rows = [ ]; |
|
20 | + foreach ($this->data as $row) { |
|
21 | 21 | /** @var XAxis $row */ |
22 | - $rows[] = $row->getArrayCopy(); |
|
22 | + $rows[ ] = $row->getArrayCopy(); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | return $rows; |
@@ -30,6 +30,6 @@ discard block |
||
30 | 30 | */ |
31 | 31 | public function jsonSerialize() |
32 | 32 | { |
33 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
33 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
34 | 34 | } |
35 | 35 | } |
36 | 36 | \ No newline at end of file |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * |
58 | 58 | * @return $this |
59 | 59 | */ |
60 | - public function setDisplay( $display ) |
|
60 | + public function setDisplay($display) |
|
61 | 61 | { |
62 | 62 | $this->display = !!$display; |
63 | 63 | |
@@ -77,9 +77,9 @@ discard block |
||
77 | 77 | * |
78 | 78 | * @return $this |
79 | 79 | */ |
80 | - public function setLabelString( $labelString ) |
|
80 | + public function setLabelString($labelString) |
|
81 | 81 | { |
82 | - $this->labelString = strval( $labelString ); |
|
82 | + $this->labelString = strval($labelString); |
|
83 | 83 | |
84 | 84 | return $this; |
85 | 85 | } |
@@ -97,9 +97,9 @@ discard block |
||
97 | 97 | * |
98 | 98 | * @return $this |
99 | 99 | */ |
100 | - public function setFontColor( $fontColor ) |
|
100 | + public function setFontColor($fontColor) |
|
101 | 101 | { |
102 | - $this->fontColor = strval( $fontColor ); |
|
102 | + $this->fontColor = strval($fontColor); |
|
103 | 103 | |
104 | 104 | return $this; |
105 | 105 | } |
@@ -117,9 +117,9 @@ discard block |
||
117 | 117 | * |
118 | 118 | * @return $this |
119 | 119 | */ |
120 | - public function setFontFamily( $fontFamily ) |
|
120 | + public function setFontFamily($fontFamily) |
|
121 | 121 | { |
122 | - $this->fontFamily = strval( $fontFamily ); |
|
122 | + $this->fontFamily = strval($fontFamily); |
|
123 | 123 | |
124 | 124 | return $this; |
125 | 125 | } |
@@ -137,9 +137,9 @@ discard block |
||
137 | 137 | * |
138 | 138 | * @return $this |
139 | 139 | */ |
140 | - public function setFontSize( $fontSize ) |
|
140 | + public function setFontSize($fontSize) |
|
141 | 141 | { |
142 | - $this->fontSize = intval( $fontSize ); |
|
142 | + $this->fontSize = intval($fontSize); |
|
143 | 143 | |
144 | 144 | return $this; |
145 | 145 | } |
@@ -157,9 +157,9 @@ discard block |
||
157 | 157 | * |
158 | 158 | * @return $this |
159 | 159 | */ |
160 | - public function setFontStyle( $fontStyle ) |
|
160 | + public function setFontStyle($fontStyle) |
|
161 | 161 | { |
162 | - $this->fontStyle = strval( $fontStyle ); |
|
162 | + $this->fontStyle = strval($fontStyle); |
|
163 | 163 | |
164 | 164 | return $this; |
165 | 165 | } |
@@ -169,6 +169,6 @@ discard block |
||
169 | 169 | */ |
170 | 170 | public function jsonSerialize() |
171 | 171 | { |
172 | - return Json::encode( $this->getArrayCopy() ); |
|
172 | + return Json::encode($this->getArrayCopy()); |
|
173 | 173 | } |
174 | 174 | } |
175 | 175 | \ No newline at end of file |