@@ -34,9 +34,9 @@ discard block |
||
| 34 | 34 | * |
| 35 | 35 | * @return $this |
| 36 | 36 | */ |
| 37 | - public function setCategoryPercentage( $categoryPercentage ) |
|
| 37 | + public function setCategoryPercentage($categoryPercentage) |
|
| 38 | 38 | { |
| 39 | - $this->categoryPercentage = floatval( $categoryPercentage ); |
|
| 39 | + $this->categoryPercentage = floatval($categoryPercentage); |
|
| 40 | 40 | |
| 41 | 41 | return $this; |
| 42 | 42 | } |
@@ -54,9 +54,9 @@ discard block |
||
| 54 | 54 | * |
| 55 | 55 | * @return $this |
| 56 | 56 | */ |
| 57 | - public function setBarPercentage( $barPercentage ) |
|
| 57 | + public function setBarPercentage($barPercentage) |
|
| 58 | 58 | { |
| 59 | - $this->barPercentage = floatval( $barPercentage ); |
|
| 59 | + $this->barPercentage = floatval($barPercentage); |
|
| 60 | 60 | |
| 61 | 61 | return $this; |
| 62 | 62 | } |
@@ -66,6 +66,6 @@ discard block |
||
| 66 | 66 | */ |
| 67 | 67 | public function jsonSerialize() |
| 68 | 68 | { |
| 69 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
| 69 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
| 70 | 70 | } |
| 71 | 71 | } |
| 72 | 72 | \ No newline at end of file |
@@ -113,9 +113,9 @@ discard block |
||
| 113 | 113 | * |
| 114 | 114 | * @return $this |
| 115 | 115 | */ |
| 116 | - public function setSuggestedMin( $suggestedMin ) |
|
| 116 | + public function setSuggestedMin($suggestedMin) |
|
| 117 | 117 | { |
| 118 | - $this->suggestedMin = floatval( $suggestedMin ); |
|
| 118 | + $this->suggestedMin = floatval($suggestedMin); |
|
| 119 | 119 | |
| 120 | 120 | return $this; |
| 121 | 121 | } |
@@ -133,9 +133,9 @@ discard block |
||
| 133 | 133 | * |
| 134 | 134 | * @return $this |
| 135 | 135 | */ |
| 136 | - public function setBeginAtZero( $beginAtZero ) |
|
| 136 | + public function setBeginAtZero($beginAtZero) |
|
| 137 | 137 | { |
| 138 | - $this->beginAtZero = boolval( $beginAtZero ); |
|
| 138 | + $this->beginAtZero = boolval($beginAtZero); |
|
| 139 | 139 | |
| 140 | 140 | return $this; |
| 141 | 141 | } |
@@ -153,9 +153,9 @@ discard block |
||
| 153 | 153 | * |
| 154 | 154 | * @return $this |
| 155 | 155 | */ |
| 156 | - public function setStepSize( $stepSize ) |
|
| 156 | + public function setStepSize($stepSize) |
|
| 157 | 157 | { |
| 158 | - $this->stepSize = floatval( $stepSize ); |
|
| 158 | + $this->stepSize = floatval($stepSize); |
|
| 159 | 159 | |
| 160 | 160 | return $this; |
| 161 | 161 | } |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * |
| 174 | 174 | * @return $this |
| 175 | 175 | */ |
| 176 | - public function setAutoSkip( $autoSkip ) |
|
| 176 | + public function setAutoSkip($autoSkip) |
|
| 177 | 177 | { |
| 178 | 178 | $this->autoSkip = !!$autoSkip; |
| 179 | 179 | |
@@ -193,9 +193,9 @@ discard block |
||
| 193 | 193 | * |
| 194 | 194 | * @return $this |
| 195 | 195 | */ |
| 196 | - public function setAutoSkipPadding( $autoSkipPadding ) |
|
| 196 | + public function setAutoSkipPadding($autoSkipPadding) |
|
| 197 | 197 | { |
| 198 | - $this->autoSkipPadding = intval( $autoSkipPadding ); |
|
| 198 | + $this->autoSkipPadding = intval($autoSkipPadding); |
|
| 199 | 199 | |
| 200 | 200 | return $this; |
| 201 | 201 | } |
@@ -213,9 +213,9 @@ discard block |
||
| 213 | 213 | * |
| 214 | 214 | * @return $this |
| 215 | 215 | */ |
| 216 | - public function setCallback( $callback ) |
|
| 216 | + public function setCallback($callback) |
|
| 217 | 217 | { |
| 218 | - $this->callback = new Expr( strval( $callback ) ); |
|
| 218 | + $this->callback = new Expr(strval($callback)); |
|
| 219 | 219 | |
| 220 | 220 | return $this; |
| 221 | 221 | } |
@@ -233,7 +233,7 @@ discard block |
||
| 233 | 233 | * |
| 234 | 234 | * @return $this |
| 235 | 235 | */ |
| 236 | - public function setDisplay( $display ) |
|
| 236 | + public function setDisplay($display) |
|
| 237 | 237 | { |
| 238 | 238 | $this->display = !!$display; |
| 239 | 239 | |
@@ -253,9 +253,9 @@ discard block |
||
| 253 | 253 | * |
| 254 | 254 | * @return $this |
| 255 | 255 | */ |
| 256 | - public function setFontColor( $fontColor ) |
|
| 256 | + public function setFontColor($fontColor) |
|
| 257 | 257 | { |
| 258 | - $this->fontColor = strval( $fontColor ); |
|
| 258 | + $this->fontColor = strval($fontColor); |
|
| 259 | 259 | |
| 260 | 260 | return $this; |
| 261 | 261 | } |
@@ -273,9 +273,9 @@ discard block |
||
| 273 | 273 | * |
| 274 | 274 | * @return $this |
| 275 | 275 | */ |
| 276 | - public function setFontFamily( $fontFamily ) |
|
| 276 | + public function setFontFamily($fontFamily) |
|
| 277 | 277 | { |
| 278 | - $this->fontFamily = strval( $fontFamily ); |
|
| 278 | + $this->fontFamily = strval($fontFamily); |
|
| 279 | 279 | |
| 280 | 280 | return $this; |
| 281 | 281 | } |
@@ -293,9 +293,9 @@ discard block |
||
| 293 | 293 | * |
| 294 | 294 | * @return $this |
| 295 | 295 | */ |
| 296 | - public function setFontSize( $fontSize ) |
|
| 296 | + public function setFontSize($fontSize) |
|
| 297 | 297 | { |
| 298 | - $this->fontSize = intval( $fontSize ); |
|
| 298 | + $this->fontSize = intval($fontSize); |
|
| 299 | 299 | |
| 300 | 300 | return $this; |
| 301 | 301 | } |
@@ -313,9 +313,9 @@ discard block |
||
| 313 | 313 | * |
| 314 | 314 | * @return $this |
| 315 | 315 | */ |
| 316 | - public function setFontStyle( $fontStyle ) |
|
| 316 | + public function setFontStyle($fontStyle) |
|
| 317 | 317 | { |
| 318 | - $this->fontStyle = strval( $fontStyle ); |
|
| 318 | + $this->fontStyle = strval($fontStyle); |
|
| 319 | 319 | |
| 320 | 320 | return $this; |
| 321 | 321 | } |
@@ -333,9 +333,9 @@ discard block |
||
| 333 | 333 | * |
| 334 | 334 | * @return $this |
| 335 | 335 | */ |
| 336 | - public function setLabelOffset( $labelOffset ) |
|
| 336 | + public function setLabelOffset($labelOffset) |
|
| 337 | 337 | { |
| 338 | - $this->labelOffset = intval( $labelOffset ); |
|
| 338 | + $this->labelOffset = intval($labelOffset); |
|
| 339 | 339 | |
| 340 | 340 | return $this; |
| 341 | 341 | } |
@@ -353,9 +353,9 @@ discard block |
||
| 353 | 353 | * |
| 354 | 354 | * @return $this |
| 355 | 355 | */ |
| 356 | - public function setMaxRotation( $maxRotation ) |
|
| 356 | + public function setMaxRotation($maxRotation) |
|
| 357 | 357 | { |
| 358 | - $this->maxRotation = intval( $maxRotation ); |
|
| 358 | + $this->maxRotation = intval($maxRotation); |
|
| 359 | 359 | |
| 360 | 360 | return $this; |
| 361 | 361 | } |
@@ -373,9 +373,9 @@ discard block |
||
| 373 | 373 | * |
| 374 | 374 | * @return $this |
| 375 | 375 | */ |
| 376 | - public function setMinRotation( $minRotation ) |
|
| 376 | + public function setMinRotation($minRotation) |
|
| 377 | 377 | { |
| 378 | - $this->minRotation = intval( $minRotation ); |
|
| 378 | + $this->minRotation = intval($minRotation); |
|
| 379 | 379 | |
| 380 | 380 | return $this; |
| 381 | 381 | } |
@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | * |
| 394 | 394 | * @return $this |
| 395 | 395 | */ |
| 396 | - public function setMirror( $mirror ) |
|
| 396 | + public function setMirror($mirror) |
|
| 397 | 397 | { |
| 398 | 398 | $this->mirror = !!$mirror; |
| 399 | 399 | |
@@ -413,9 +413,9 @@ discard block |
||
| 413 | 413 | * |
| 414 | 414 | * @return $this |
| 415 | 415 | */ |
| 416 | - public function setPadding( $padding ) |
|
| 416 | + public function setPadding($padding) |
|
| 417 | 417 | { |
| 418 | - $this->padding = intval( $padding ); |
|
| 418 | + $this->padding = intval($padding); |
|
| 419 | 419 | |
| 420 | 420 | return $this; |
| 421 | 421 | } |
@@ -433,7 +433,7 @@ discard block |
||
| 433 | 433 | * |
| 434 | 434 | * @return $this |
| 435 | 435 | */ |
| 436 | - public function setReverse( $reverse ) |
|
| 436 | + public function setReverse($reverse) |
|
| 437 | 437 | { |
| 438 | 438 | $this->reverse = !!$reverse; |
| 439 | 439 | |
@@ -445,6 +445,6 @@ discard block |
||
| 445 | 445 | */ |
| 446 | 446 | public function jsonSerialize() |
| 447 | 447 | { |
| 448 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
| 448 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
| 449 | 449 | } |
| 450 | 450 | } |
| 451 | 451 | \ 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 YAxis $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 |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function getXAxes() |
| 51 | 51 | { |
| 52 | - if( is_null( $this->xAxes ) ) { |
|
| 52 | + if (is_null($this->xAxes)) { |
|
| 53 | 53 | $this->xAxes = new XAxisCollection(); |
| 54 | 54 | } |
| 55 | 55 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | */ |
| 62 | 62 | public function getYAxes() |
| 63 | 63 | { |
| 64 | - if( is_null( $this->yAxes ) ) { |
|
| 64 | + if (is_null($this->yAxes)) { |
|
| 65 | 65 | $this->yAxes = new YAxisCollection(); |
| 66 | 66 | } |
| 67 | 67 | |
@@ -73,6 +73,6 @@ discard block |
||
| 73 | 73 | */ |
| 74 | 74 | public function jsonSerialize() |
| 75 | 75 | { |
| 76 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
| 76 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
| 77 | 77 | } |
| 78 | 78 | } |
| 79 | 79 | \ No newline at end of file |
@@ -47,9 +47,9 @@ discard block |
||
| 47 | 47 | * |
| 48 | 48 | * @return $this |
| 49 | 49 | */ |
| 50 | - public function setBottom( $bottom ) |
|
| 50 | + public function setBottom($bottom) |
|
| 51 | 51 | { |
| 52 | - $this->bottom = intval( $bottom ); |
|
| 52 | + $this->bottom = intval($bottom); |
|
| 53 | 53 | |
| 54 | 54 | return $this; |
| 55 | 55 | } |
@@ -67,9 +67,9 @@ discard block |
||
| 67 | 67 | * |
| 68 | 68 | * @return $this |
| 69 | 69 | */ |
| 70 | - public function setLeft( $left ) |
|
| 70 | + public function setLeft($left) |
|
| 71 | 71 | { |
| 72 | - $this->left = intval( $left ); |
|
| 72 | + $this->left = intval($left); |
|
| 73 | 73 | |
| 74 | 74 | return $this; |
| 75 | 75 | } |
@@ -87,9 +87,9 @@ discard block |
||
| 87 | 87 | * |
| 88 | 88 | * @return $this |
| 89 | 89 | */ |
| 90 | - public function setRight( $right ) |
|
| 90 | + public function setRight($right) |
|
| 91 | 91 | { |
| 92 | - $this->right = intval( $right ); |
|
| 92 | + $this->right = intval($right); |
|
| 93 | 93 | |
| 94 | 94 | return $this; |
| 95 | 95 | } |
@@ -107,9 +107,9 @@ discard block |
||
| 107 | 107 | * |
| 108 | 108 | * @return $this |
| 109 | 109 | */ |
| 110 | - public function setTop( $top ) |
|
| 110 | + public function setTop($top) |
|
| 111 | 111 | { |
| 112 | - $this->top = intval( $top ); |
|
| 112 | + $this->top = intval($top); |
|
| 113 | 113 | |
| 114 | 114 | return $this; |
| 115 | 115 | } |
@@ -119,6 +119,6 @@ discard block |
||
| 119 | 119 | */ |
| 120 | 120 | public function jsonSerialize() |
| 121 | 121 | { |
| 122 | - return Json::encode( $this->getArrayCopy() ); |
|
| 122 | + return Json::encode($this->getArrayCopy()); |
|
| 123 | 123 | } |
| 124 | 124 | } |
| 125 | 125 | \ No newline at end of file |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | * |
| 146 | 146 | * @return $this |
| 147 | 147 | */ |
| 148 | - public function setType( $type ) |
|
| 148 | + public function setType($type) |
|
| 149 | 149 | { |
| 150 | 150 | $this->type = $type; |
| 151 | 151 | |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | * |
| 166 | 166 | * @return $this |
| 167 | 167 | */ |
| 168 | - public function setDisplay( $display ) |
|
| 168 | + public function setDisplay($display) |
|
| 169 | 169 | { |
| 170 | 170 | $this->display = $display; |
| 171 | 171 | |
@@ -185,9 +185,9 @@ discard block |
||
| 185 | 185 | * |
| 186 | 186 | * @return $this |
| 187 | 187 | */ |
| 188 | - public function setId( $id ) |
|
| 188 | + public function setId($id) |
|
| 189 | 189 | { |
| 190 | - $this->id = strval( $id ); |
|
| 190 | + $this->id = strval($id); |
|
| 191 | 191 | |
| 192 | 192 | return $this; |
| 193 | 193 | } |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | * |
| 206 | 206 | * @return $this |
| 207 | 207 | */ |
| 208 | - public function setStacked( $stacked ) |
|
| 208 | + public function setStacked($stacked) |
|
| 209 | 209 | { |
| 210 | 210 | $this->stacked = !!$stacked; |
| 211 | 211 | |
@@ -225,9 +225,9 @@ discard block |
||
| 225 | 225 | * |
| 226 | 226 | * @return $this |
| 227 | 227 | */ |
| 228 | - public function setBarThickness( $barThickness ) |
|
| 228 | + public function setBarThickness($barThickness) |
|
| 229 | 229 | { |
| 230 | - $this->barThickness = intval( $barThickness ); |
|
| 230 | + $this->barThickness = intval($barThickness); |
|
| 231 | 231 | |
| 232 | 232 | return $this; |
| 233 | 233 | } |
@@ -245,9 +245,9 @@ discard block |
||
| 245 | 245 | * |
| 246 | 246 | * @return $this |
| 247 | 247 | */ |
| 248 | - public function setPosition( $position ) |
|
| 248 | + public function setPosition($position) |
|
| 249 | 249 | { |
| 250 | - $this->position = strval( $position ); |
|
| 250 | + $this->position = strval($position); |
|
| 251 | 251 | |
| 252 | 252 | return $this; |
| 253 | 253 | } |
@@ -265,9 +265,9 @@ discard block |
||
| 265 | 265 | * |
| 266 | 266 | * @return $this |
| 267 | 267 | */ |
| 268 | - public function setBeforeUpdate( $beforeUpdate ) |
|
| 268 | + public function setBeforeUpdate($beforeUpdate) |
|
| 269 | 269 | { |
| 270 | - $this->beforeUpdate = strval( $beforeUpdate ); |
|
| 270 | + $this->beforeUpdate = strval($beforeUpdate); |
|
| 271 | 271 | |
| 272 | 272 | return $this; |
| 273 | 273 | } |
@@ -285,9 +285,9 @@ discard block |
||
| 285 | 285 | * |
| 286 | 286 | * @return $this |
| 287 | 287 | */ |
| 288 | - public function setBeforeSetDimensions( $beforeSetDimensions ) |
|
| 288 | + public function setBeforeSetDimensions($beforeSetDimensions) |
|
| 289 | 289 | { |
| 290 | - $this->beforeSetDimensions = strval( $beforeSetDimensions ); |
|
| 290 | + $this->beforeSetDimensions = strval($beforeSetDimensions); |
|
| 291 | 291 | |
| 292 | 292 | return $this; |
| 293 | 293 | } |
@@ -305,9 +305,9 @@ discard block |
||
| 305 | 305 | * |
| 306 | 306 | * @return $this |
| 307 | 307 | */ |
| 308 | - public function setAfterSetDimensions( $afterSetDimensions ) |
|
| 308 | + public function setAfterSetDimensions($afterSetDimensions) |
|
| 309 | 309 | { |
| 310 | - $this->afterSetDimensions = strval( $afterSetDimensions ); |
|
| 310 | + $this->afterSetDimensions = strval($afterSetDimensions); |
|
| 311 | 311 | |
| 312 | 312 | return $this; |
| 313 | 313 | } |
@@ -325,9 +325,9 @@ discard block |
||
| 325 | 325 | * |
| 326 | 326 | * @return $this |
| 327 | 327 | */ |
| 328 | - public function setBeforeDataLimits( $beforeDataLimits ) |
|
| 328 | + public function setBeforeDataLimits($beforeDataLimits) |
|
| 329 | 329 | { |
| 330 | - $this->beforeDataLimits = strval( $beforeDataLimits ); |
|
| 330 | + $this->beforeDataLimits = strval($beforeDataLimits); |
|
| 331 | 331 | |
| 332 | 332 | return $this; |
| 333 | 333 | } |
@@ -345,9 +345,9 @@ discard block |
||
| 345 | 345 | * |
| 346 | 346 | * @return $this |
| 347 | 347 | */ |
| 348 | - public function setAfterDataLimits( $afterDataLimits ) |
|
| 348 | + public function setAfterDataLimits($afterDataLimits) |
|
| 349 | 349 | { |
| 350 | - $this->afterDataLimits = strval( $afterDataLimits ); |
|
| 350 | + $this->afterDataLimits = strval($afterDataLimits); |
|
| 351 | 351 | |
| 352 | 352 | return $this; |
| 353 | 353 | } |
@@ -365,9 +365,9 @@ discard block |
||
| 365 | 365 | * |
| 366 | 366 | * @return $this |
| 367 | 367 | */ |
| 368 | - public function setBeforeBuildTicks( $beforeBuildTicks ) |
|
| 368 | + public function setBeforeBuildTicks($beforeBuildTicks) |
|
| 369 | 369 | { |
| 370 | - $this->beforeBuildTicks = strval( $beforeBuildTicks ); |
|
| 370 | + $this->beforeBuildTicks = strval($beforeBuildTicks); |
|
| 371 | 371 | |
| 372 | 372 | return $this; |
| 373 | 373 | } |
@@ -385,9 +385,9 @@ discard block |
||
| 385 | 385 | * |
| 386 | 386 | * @return $this |
| 387 | 387 | */ |
| 388 | - public function setAfterBuildTicks( $afterBuildTicks ) |
|
| 388 | + public function setAfterBuildTicks($afterBuildTicks) |
|
| 389 | 389 | { |
| 390 | - $this->afterBuildTicks = strval( $afterBuildTicks ); |
|
| 390 | + $this->afterBuildTicks = strval($afterBuildTicks); |
|
| 391 | 391 | |
| 392 | 392 | return $this; |
| 393 | 393 | } |
@@ -405,9 +405,9 @@ discard block |
||
| 405 | 405 | * |
| 406 | 406 | * @return $this |
| 407 | 407 | */ |
| 408 | - public function setBeforeTickToLabelConversion( $beforeTickToLabelConversion ) |
|
| 408 | + public function setBeforeTickToLabelConversion($beforeTickToLabelConversion) |
|
| 409 | 409 | { |
| 410 | - $this->beforeTickToLabelConversion = strval( $beforeTickToLabelConversion ); |
|
| 410 | + $this->beforeTickToLabelConversion = strval($beforeTickToLabelConversion); |
|
| 411 | 411 | |
| 412 | 412 | return $this; |
| 413 | 413 | } |
@@ -425,9 +425,9 @@ discard block |
||
| 425 | 425 | * |
| 426 | 426 | * @return $this |
| 427 | 427 | */ |
| 428 | - public function setAfterTickToLabelConversion( $afterTickToLabelConversion ) |
|
| 428 | + public function setAfterTickToLabelConversion($afterTickToLabelConversion) |
|
| 429 | 429 | { |
| 430 | - $this->afterTickToLabelConversion = strval( $afterTickToLabelConversion ); |
|
| 430 | + $this->afterTickToLabelConversion = strval($afterTickToLabelConversion); |
|
| 431 | 431 | |
| 432 | 432 | return $this; |
| 433 | 433 | } |
@@ -445,9 +445,9 @@ discard block |
||
| 445 | 445 | * |
| 446 | 446 | * @return $this |
| 447 | 447 | */ |
| 448 | - public function setBeforeCalculateTickRotation( $beforeCalculateTickRotation ) |
|
| 448 | + public function setBeforeCalculateTickRotation($beforeCalculateTickRotation) |
|
| 449 | 449 | { |
| 450 | - $this->beforeCalculateTickRotation = strval( $beforeCalculateTickRotation ); |
|
| 450 | + $this->beforeCalculateTickRotation = strval($beforeCalculateTickRotation); |
|
| 451 | 451 | |
| 452 | 452 | return $this; |
| 453 | 453 | } |
@@ -465,9 +465,9 @@ discard block |
||
| 465 | 465 | * |
| 466 | 466 | * @return $this |
| 467 | 467 | */ |
| 468 | - public function setAfterCalculateTickRotation( $afterCalculateTickRotation ) |
|
| 468 | + public function setAfterCalculateTickRotation($afterCalculateTickRotation) |
|
| 469 | 469 | { |
| 470 | - $this->afterCalculateTickRotation = strval( $afterCalculateTickRotation ); |
|
| 470 | + $this->afterCalculateTickRotation = strval($afterCalculateTickRotation); |
|
| 471 | 471 | |
| 472 | 472 | return $this; |
| 473 | 473 | } |
@@ -485,9 +485,9 @@ discard block |
||
| 485 | 485 | * |
| 486 | 486 | * @return $this |
| 487 | 487 | */ |
| 488 | - public function setBeforeFit( $beforeFit ) |
|
| 488 | + public function setBeforeFit($beforeFit) |
|
| 489 | 489 | { |
| 490 | - $this->beforeFit = strval( $beforeFit ); |
|
| 490 | + $this->beforeFit = strval($beforeFit); |
|
| 491 | 491 | |
| 492 | 492 | return $this; |
| 493 | 493 | } |
@@ -505,9 +505,9 @@ discard block |
||
| 505 | 505 | * |
| 506 | 506 | * @return $this |
| 507 | 507 | */ |
| 508 | - public function setAfterFit( $afterFit ) |
|
| 508 | + public function setAfterFit($afterFit) |
|
| 509 | 509 | { |
| 510 | - $this->afterFit = strval( $afterFit ); |
|
| 510 | + $this->afterFit = strval($afterFit); |
|
| 511 | 511 | |
| 512 | 512 | return $this; |
| 513 | 513 | } |
@@ -525,9 +525,9 @@ discard block |
||
| 525 | 525 | * |
| 526 | 526 | * @return $this |
| 527 | 527 | */ |
| 528 | - public function setAfterUpdate( $afterUpdate ) |
|
| 528 | + public function setAfterUpdate($afterUpdate) |
|
| 529 | 529 | { |
| 530 | - $this->afterUpdate = strval( $afterUpdate ); |
|
| 530 | + $this->afterUpdate = strval($afterUpdate); |
|
| 531 | 531 | |
| 532 | 532 | return $this; |
| 533 | 533 | } |
@@ -545,7 +545,7 @@ discard block |
||
| 545 | 545 | */ |
| 546 | 546 | public function gridLines() |
| 547 | 547 | { |
| 548 | - if( is_null( $this->gridLines ) ) { |
|
| 548 | + if (is_null($this->gridLines)) { |
|
| 549 | 549 | $this->gridLines = new GridLines(); |
| 550 | 550 | } |
| 551 | 551 | |
@@ -565,7 +565,7 @@ discard block |
||
| 565 | 565 | */ |
| 566 | 566 | public function scaleLabel() |
| 567 | 567 | { |
| 568 | - if( is_null( $this->scaleLabel ) ) { |
|
| 568 | + if (is_null($this->scaleLabel)) { |
|
| 569 | 569 | $this->scaleLabel = new ScaleLabel(); |
| 570 | 570 | } |
| 571 | 571 | |
@@ -585,7 +585,7 @@ discard block |
||
| 585 | 585 | */ |
| 586 | 586 | public function ticks() |
| 587 | 587 | { |
| 588 | - if( is_null( $this->ticks ) ) { |
|
| 588 | + if (is_null($this->ticks)) { |
|
| 589 | 589 | $this->ticks = new Ticks(); |
| 590 | 590 | } |
| 591 | 591 | |
@@ -597,6 +597,6 @@ discard block |
||
| 597 | 597 | */ |
| 598 | 598 | public function jsonSerialize() |
| 599 | 599 | { |
| 600 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
| 600 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
| 601 | 601 | } |
| 602 | 602 | } |
| 603 | 603 | \ No newline at end of file |
@@ -68,9 +68,9 @@ discard block |
||
| 68 | 68 | * |
| 69 | 69 | * @return Labels |
| 70 | 70 | */ |
| 71 | - public function setBoxWidth( $boxWidth ) |
|
| 71 | + public function setBoxWidth($boxWidth) |
|
| 72 | 72 | { |
| 73 | - $this->boxWidth = intval( $boxWidth ); |
|
| 73 | + $this->boxWidth = intval($boxWidth); |
|
| 74 | 74 | |
| 75 | 75 | return $this; |
| 76 | 76 | } |
@@ -88,9 +88,9 @@ discard block |
||
| 88 | 88 | * |
| 89 | 89 | * @return Labels |
| 90 | 90 | */ |
| 91 | - public function setFontSize( $fontSize ) |
|
| 91 | + public function setFontSize($fontSize) |
|
| 92 | 92 | { |
| 93 | - $this->fontSize = intval( $fontSize ); |
|
| 93 | + $this->fontSize = intval($fontSize); |
|
| 94 | 94 | |
| 95 | 95 | return $this; |
| 96 | 96 | } |
@@ -108,9 +108,9 @@ discard block |
||
| 108 | 108 | * |
| 109 | 109 | * @return Labels |
| 110 | 110 | */ |
| 111 | - public function setFontStyle( $fontStyle ) |
|
| 111 | + public function setFontStyle($fontStyle) |
|
| 112 | 112 | { |
| 113 | - $this->fontStyle = strval( $fontStyle ); |
|
| 113 | + $this->fontStyle = strval($fontStyle); |
|
| 114 | 114 | |
| 115 | 115 | return $this; |
| 116 | 116 | } |
@@ -128,9 +128,9 @@ discard block |
||
| 128 | 128 | * |
| 129 | 129 | * @return Labels |
| 130 | 130 | */ |
| 131 | - public function setFontColor( $fontColor ) |
|
| 131 | + public function setFontColor($fontColor) |
|
| 132 | 132 | { |
| 133 | - $this->fontColor = strval( $fontColor ); |
|
| 133 | + $this->fontColor = strval($fontColor); |
|
| 134 | 134 | |
| 135 | 135 | return $this; |
| 136 | 136 | } |
@@ -148,9 +148,9 @@ discard block |
||
| 148 | 148 | * |
| 149 | 149 | * @return Labels |
| 150 | 150 | */ |
| 151 | - public function setFontFamily( $fontFamily ) |
|
| 151 | + public function setFontFamily($fontFamily) |
|
| 152 | 152 | { |
| 153 | - $this->fontFamily = strval( $fontFamily ); |
|
| 153 | + $this->fontFamily = strval($fontFamily); |
|
| 154 | 154 | |
| 155 | 155 | return $this; |
| 156 | 156 | } |
@@ -168,9 +168,9 @@ discard block |
||
| 168 | 168 | * |
| 169 | 169 | * @return Labels |
| 170 | 170 | */ |
| 171 | - public function setPadding( $padding ) |
|
| 171 | + public function setPadding($padding) |
|
| 172 | 172 | { |
| 173 | - $this->padding = intval( $padding ); |
|
| 173 | + $this->padding = intval($padding); |
|
| 174 | 174 | |
| 175 | 175 | return $this; |
| 176 | 176 | } |
@@ -188,9 +188,9 @@ discard block |
||
| 188 | 188 | * |
| 189 | 189 | * @return Labels |
| 190 | 190 | */ |
| 191 | - public function setGenerateLabels( $generateLabels ) |
|
| 191 | + public function setGenerateLabels($generateLabels) |
|
| 192 | 192 | { |
| 193 | - $this->generateLabels = new Expr( strval( $generateLabels ) ); |
|
| 193 | + $this->generateLabels = new Expr(strval($generateLabels)); |
|
| 194 | 194 | |
| 195 | 195 | return $this; |
| 196 | 196 | } |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | * |
| 209 | 209 | * @return Labels |
| 210 | 210 | */ |
| 211 | - public function setUsePointStyle( $usePointStyle ) |
|
| 211 | + public function setUsePointStyle($usePointStyle) |
|
| 212 | 212 | { |
| 213 | 213 | $this->usePointStyle = !!$usePointStyle; |
| 214 | 214 | |
@@ -220,6 +220,6 @@ discard block |
||
| 220 | 220 | */ |
| 221 | 221 | public function jsonSerialize() |
| 222 | 222 | { |
| 223 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
| 223 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
| 224 | 224 | } |
| 225 | 225 | } |
| 226 | 226 | \ No newline at end of file |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * |
| 34 | 34 | * @return PieAnimation |
| 35 | 35 | */ |
| 36 | - public function setAnimateRotate( $animateRotate ) |
|
| 36 | + public function setAnimateRotate($animateRotate) |
|
| 37 | 37 | { |
| 38 | 38 | $this->animateRotate = $animateRotate; |
| 39 | 39 | |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @return PieAnimation |
| 55 | 55 | */ |
| 56 | - public function setAnimateScale( $animateScale ) |
|
| 56 | + public function setAnimateScale($animateScale) |
|
| 57 | 57 | { |
| 58 | 58 | $this->animateScale = $animateScale; |
| 59 | 59 | |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | * |
| 190 | 190 | * @return $this |
| 191 | 191 | */ |
| 192 | - public function setEnabled( $enabled ) |
|
| 192 | + public function setEnabled($enabled) |
|
| 193 | 193 | { |
| 194 | 194 | $this->enabled = !!$enabled; |
| 195 | 195 | |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | * |
| 210 | 210 | * @return $this |
| 211 | 211 | */ |
| 212 | - public function setCustom( $custom ) |
|
| 212 | + public function setCustom($custom) |
|
| 213 | 213 | { |
| 214 | 214 | $this->custom = $custom; |
| 215 | 215 | |
@@ -229,9 +229,9 @@ discard block |
||
| 229 | 229 | * |
| 230 | 230 | * @return $this |
| 231 | 231 | */ |
| 232 | - public function setMode( $mode ) |
|
| 232 | + public function setMode($mode) |
|
| 233 | 233 | { |
| 234 | - $this->mode = strval( $mode ); |
|
| 234 | + $this->mode = strval($mode); |
|
| 235 | 235 | |
| 236 | 236 | return $this; |
| 237 | 237 | } |
@@ -249,7 +249,7 @@ discard block |
||
| 249 | 249 | * |
| 250 | 250 | * @return $this |
| 251 | 251 | */ |
| 252 | - public function setIntersect( $intersect ) |
|
| 252 | + public function setIntersect($intersect) |
|
| 253 | 253 | { |
| 254 | 254 | $this->intersect = !!$intersect; |
| 255 | 255 | |
@@ -269,9 +269,9 @@ discard block |
||
| 269 | 269 | * |
| 270 | 270 | * @return $this |
| 271 | 271 | */ |
| 272 | - public function setPosition( $position ) |
|
| 272 | + public function setPosition($position) |
|
| 273 | 273 | { |
| 274 | - $this->position = strval( $position ); |
|
| 274 | + $this->position = strval($position); |
|
| 275 | 275 | |
| 276 | 276 | return $this; |
| 277 | 277 | } |
@@ -289,9 +289,9 @@ discard block |
||
| 289 | 289 | * |
| 290 | 290 | * @return $this |
| 291 | 291 | */ |
| 292 | - public function setItemSort( $itemSort ) |
|
| 292 | + public function setItemSort($itemSort) |
|
| 293 | 293 | { |
| 294 | - $this->itemSort = new Expr( strval( $itemSort ) ); |
|
| 294 | + $this->itemSort = new Expr(strval($itemSort)); |
|
| 295 | 295 | |
| 296 | 296 | return $this; |
| 297 | 297 | } |
@@ -309,9 +309,9 @@ discard block |
||
| 309 | 309 | * |
| 310 | 310 | * @return $this |
| 311 | 311 | */ |
| 312 | - public function setFilter( $filter ) |
|
| 312 | + public function setFilter($filter) |
|
| 313 | 313 | { |
| 314 | - $this->filter = new Expr( strval( $filter ) ); |
|
| 314 | + $this->filter = new Expr(strval($filter)); |
|
| 315 | 315 | |
| 316 | 316 | return $this; |
| 317 | 317 | } |
@@ -329,9 +329,9 @@ discard block |
||
| 329 | 329 | * |
| 330 | 330 | * @return $this |
| 331 | 331 | */ |
| 332 | - public function setBackgroundColor( $backgroundColor ) |
|
| 332 | + public function setBackgroundColor($backgroundColor) |
|
| 333 | 333 | { |
| 334 | - $this->backgroundColor = strval( $backgroundColor ); |
|
| 334 | + $this->backgroundColor = strval($backgroundColor); |
|
| 335 | 335 | |
| 336 | 336 | return $this; |
| 337 | 337 | } |
@@ -349,9 +349,9 @@ discard block |
||
| 349 | 349 | * |
| 350 | 350 | * @return $this |
| 351 | 351 | */ |
| 352 | - public function setTitleFontFamily( $titleFontFamily ) |
|
| 352 | + public function setTitleFontFamily($titleFontFamily) |
|
| 353 | 353 | { |
| 354 | - $this->titleFontFamily = strval( $titleFontFamily ); |
|
| 354 | + $this->titleFontFamily = strval($titleFontFamily); |
|
| 355 | 355 | |
| 356 | 356 | return $this; |
| 357 | 357 | } |
@@ -369,9 +369,9 @@ discard block |
||
| 369 | 369 | * |
| 370 | 370 | * @return $this |
| 371 | 371 | */ |
| 372 | - public function setTitleFontSize( $titleFontSize ) |
|
| 372 | + public function setTitleFontSize($titleFontSize) |
|
| 373 | 373 | { |
| 374 | - $this->titleFontSize = intval( $titleFontSize ); |
|
| 374 | + $this->titleFontSize = intval($titleFontSize); |
|
| 375 | 375 | |
| 376 | 376 | return $this; |
| 377 | 377 | } |
@@ -389,9 +389,9 @@ discard block |
||
| 389 | 389 | * |
| 390 | 390 | * @return $this |
| 391 | 391 | */ |
| 392 | - public function setTitleFontStyle( $titleFontStyle ) |
|
| 392 | + public function setTitleFontStyle($titleFontStyle) |
|
| 393 | 393 | { |
| 394 | - $this->titleFontStyle = strval( $titleFontStyle ); |
|
| 394 | + $this->titleFontStyle = strval($titleFontStyle); |
|
| 395 | 395 | |
| 396 | 396 | return $this; |
| 397 | 397 | } |
@@ -409,9 +409,9 @@ discard block |
||
| 409 | 409 | * |
| 410 | 410 | * @return $this |
| 411 | 411 | */ |
| 412 | - public function setTitleFontColor( $titleFontColor ) |
|
| 412 | + public function setTitleFontColor($titleFontColor) |
|
| 413 | 413 | { |
| 414 | - $this->titleFontColor = strval( $titleFontColor ); |
|
| 414 | + $this->titleFontColor = strval($titleFontColor); |
|
| 415 | 415 | |
| 416 | 416 | return $this; |
| 417 | 417 | } |
@@ -429,9 +429,9 @@ discard block |
||
| 429 | 429 | * |
| 430 | 430 | * @return $this |
| 431 | 431 | */ |
| 432 | - public function setTitleSpacing( $titleSpacing ) |
|
| 432 | + public function setTitleSpacing($titleSpacing) |
|
| 433 | 433 | { |
| 434 | - $this->titleSpacing = intval( $titleSpacing ); |
|
| 434 | + $this->titleSpacing = intval($titleSpacing); |
|
| 435 | 435 | |
| 436 | 436 | return $this; |
| 437 | 437 | } |
@@ -449,9 +449,9 @@ discard block |
||
| 449 | 449 | * |
| 450 | 450 | * @return $this |
| 451 | 451 | */ |
| 452 | - public function setTitleMarginBottom( $titleMarginBottom ) |
|
| 452 | + public function setTitleMarginBottom($titleMarginBottom) |
|
| 453 | 453 | { |
| 454 | - $this->titleMarginBottom = intval( $titleMarginBottom ); |
|
| 454 | + $this->titleMarginBottom = intval($titleMarginBottom); |
|
| 455 | 455 | |
| 456 | 456 | return $this; |
| 457 | 457 | } |
@@ -469,9 +469,9 @@ discard block |
||
| 469 | 469 | * |
| 470 | 470 | * @return $this |
| 471 | 471 | */ |
| 472 | - public function setBodyFontFamily( $bodyFontFamily ) |
|
| 472 | + public function setBodyFontFamily($bodyFontFamily) |
|
| 473 | 473 | { |
| 474 | - $this->bodyFontFamily = strval( $bodyFontFamily ); |
|
| 474 | + $this->bodyFontFamily = strval($bodyFontFamily); |
|
| 475 | 475 | |
| 476 | 476 | return $this; |
| 477 | 477 | } |
@@ -489,9 +489,9 @@ discard block |
||
| 489 | 489 | * |
| 490 | 490 | * @return $this |
| 491 | 491 | */ |
| 492 | - public function setBodyFontSize( $bodyFontSize ) |
|
| 492 | + public function setBodyFontSize($bodyFontSize) |
|
| 493 | 493 | { |
| 494 | - $this->bodyFontSize = intval( $bodyFontSize ); |
|
| 494 | + $this->bodyFontSize = intval($bodyFontSize); |
|
| 495 | 495 | |
| 496 | 496 | return $this; |
| 497 | 497 | } |
@@ -509,9 +509,9 @@ discard block |
||
| 509 | 509 | * |
| 510 | 510 | * @return $this |
| 511 | 511 | */ |
| 512 | - public function setBodyFontStyle( $bodyFontStyle ) |
|
| 512 | + public function setBodyFontStyle($bodyFontStyle) |
|
| 513 | 513 | { |
| 514 | - $this->bodyFontStyle = strval( $bodyFontStyle ); |
|
| 514 | + $this->bodyFontStyle = strval($bodyFontStyle); |
|
| 515 | 515 | |
| 516 | 516 | return $this; |
| 517 | 517 | } |
@@ -529,9 +529,9 @@ discard block |
||
| 529 | 529 | * |
| 530 | 530 | * @return $this |
| 531 | 531 | */ |
| 532 | - public function setBodyFontColor( $bodyFontColor ) |
|
| 532 | + public function setBodyFontColor($bodyFontColor) |
|
| 533 | 533 | { |
| 534 | - $this->bodyFontColor = strval( $bodyFontColor ); |
|
| 534 | + $this->bodyFontColor = strval($bodyFontColor); |
|
| 535 | 535 | |
| 536 | 536 | return $this; |
| 537 | 537 | } |
@@ -549,9 +549,9 @@ discard block |
||
| 549 | 549 | * |
| 550 | 550 | * @return $this |
| 551 | 551 | */ |
| 552 | - public function setBodySpacing( $bodySpacing ) |
|
| 552 | + public function setBodySpacing($bodySpacing) |
|
| 553 | 553 | { |
| 554 | - $this->bodySpacing = intval( $bodySpacing ); |
|
| 554 | + $this->bodySpacing = intval($bodySpacing); |
|
| 555 | 555 | |
| 556 | 556 | return $this; |
| 557 | 557 | } |
@@ -569,9 +569,9 @@ discard block |
||
| 569 | 569 | * |
| 570 | 570 | * @return $this |
| 571 | 571 | */ |
| 572 | - public function setFooterFontFamily( $footerFontFamily ) |
|
| 572 | + public function setFooterFontFamily($footerFontFamily) |
|
| 573 | 573 | { |
| 574 | - $this->footerFontFamily = strval( $footerFontFamily ); |
|
| 574 | + $this->footerFontFamily = strval($footerFontFamily); |
|
| 575 | 575 | |
| 576 | 576 | return $this; |
| 577 | 577 | } |
@@ -589,9 +589,9 @@ discard block |
||
| 589 | 589 | * |
| 590 | 590 | * @return $this |
| 591 | 591 | */ |
| 592 | - public function setFooterFontSize( $footerFontSize ) |
|
| 592 | + public function setFooterFontSize($footerFontSize) |
|
| 593 | 593 | { |
| 594 | - $this->footerFontSize = intval( $footerFontSize ); |
|
| 594 | + $this->footerFontSize = intval($footerFontSize); |
|
| 595 | 595 | |
| 596 | 596 | return $this; |
| 597 | 597 | } |
@@ -609,9 +609,9 @@ discard block |
||
| 609 | 609 | * |
| 610 | 610 | * @return $this |
| 611 | 611 | */ |
| 612 | - public function setFooterFontStyle( $footerFontStyle ) |
|
| 612 | + public function setFooterFontStyle($footerFontStyle) |
|
| 613 | 613 | { |
| 614 | - $this->footerFontStyle = strval( $footerFontStyle ); |
|
| 614 | + $this->footerFontStyle = strval($footerFontStyle); |
|
| 615 | 615 | |
| 616 | 616 | return $this; |
| 617 | 617 | } |
@@ -629,9 +629,9 @@ discard block |
||
| 629 | 629 | * |
| 630 | 630 | * @return $this |
| 631 | 631 | */ |
| 632 | - public function setFooterFontColor( $footerFontColor ) |
|
| 632 | + public function setFooterFontColor($footerFontColor) |
|
| 633 | 633 | { |
| 634 | - $this->footerFontColor = strval( $footerFontColor ); |
|
| 634 | + $this->footerFontColor = strval($footerFontColor); |
|
| 635 | 635 | |
| 636 | 636 | return $this; |
| 637 | 637 | } |
@@ -649,9 +649,9 @@ discard block |
||
| 649 | 649 | * |
| 650 | 650 | * @return $this |
| 651 | 651 | */ |
| 652 | - public function setFooterSpacing( $footerSpacing ) |
|
| 652 | + public function setFooterSpacing($footerSpacing) |
|
| 653 | 653 | { |
| 654 | - $this->footerSpacing = intval( $footerSpacing ); |
|
| 654 | + $this->footerSpacing = intval($footerSpacing); |
|
| 655 | 655 | |
| 656 | 656 | return $this; |
| 657 | 657 | } |
@@ -669,9 +669,9 @@ discard block |
||
| 669 | 669 | * |
| 670 | 670 | * @return $this |
| 671 | 671 | */ |
| 672 | - public function setFooterMarginTop( $footerMarginTop ) |
|
| 672 | + public function setFooterMarginTop($footerMarginTop) |
|
| 673 | 673 | { |
| 674 | - $this->footerMarginTop = intval( $footerMarginTop ); |
|
| 674 | + $this->footerMarginTop = intval($footerMarginTop); |
|
| 675 | 675 | |
| 676 | 676 | return $this; |
| 677 | 677 | } |
@@ -689,9 +689,9 @@ discard block |
||
| 689 | 689 | * |
| 690 | 690 | * @return $this |
| 691 | 691 | */ |
| 692 | - public function setXPadding( $xPadding ) |
|
| 692 | + public function setXPadding($xPadding) |
|
| 693 | 693 | { |
| 694 | - $this->xPadding = intval( $xPadding ); |
|
| 694 | + $this->xPadding = intval($xPadding); |
|
| 695 | 695 | |
| 696 | 696 | return $this; |
| 697 | 697 | } |
@@ -709,9 +709,9 @@ discard block |
||
| 709 | 709 | * |
| 710 | 710 | * @return $this |
| 711 | 711 | */ |
| 712 | - public function setYPadding( $yPadding ) |
|
| 712 | + public function setYPadding($yPadding) |
|
| 713 | 713 | { |
| 714 | - $this->yPadding = intval( $yPadding ); |
|
| 714 | + $this->yPadding = intval($yPadding); |
|
| 715 | 715 | |
| 716 | 716 | return $this; |
| 717 | 717 | } |
@@ -729,9 +729,9 @@ discard block |
||
| 729 | 729 | * |
| 730 | 730 | * @return $this |
| 731 | 731 | */ |
| 732 | - public function setCaretSize( $caretSize ) |
|
| 732 | + public function setCaretSize($caretSize) |
|
| 733 | 733 | { |
| 734 | - $this->caretSize = intval( $caretSize ); |
|
| 734 | + $this->caretSize = intval($caretSize); |
|
| 735 | 735 | |
| 736 | 736 | return $this; |
| 737 | 737 | } |
@@ -749,9 +749,9 @@ discard block |
||
| 749 | 749 | * |
| 750 | 750 | * @return $this |
| 751 | 751 | */ |
| 752 | - public function setCornerRadius( $cornerRadius ) |
|
| 752 | + public function setCornerRadius($cornerRadius) |
|
| 753 | 753 | { |
| 754 | - $this->cornerRadius = intval( $cornerRadius ); |
|
| 754 | + $this->cornerRadius = intval($cornerRadius); |
|
| 755 | 755 | |
| 756 | 756 | return $this; |
| 757 | 757 | } |
@@ -769,9 +769,9 @@ discard block |
||
| 769 | 769 | * |
| 770 | 770 | * @return $this |
| 771 | 771 | */ |
| 772 | - public function setMultiKeyBackground( $multiKeyBackground ) |
|
| 772 | + public function setMultiKeyBackground($multiKeyBackground) |
|
| 773 | 773 | { |
| 774 | - $this->multiKeyBackground = strval( $multiKeyBackground ); |
|
| 774 | + $this->multiKeyBackground = strval($multiKeyBackground); |
|
| 775 | 775 | |
| 776 | 776 | return $this; |
| 777 | 777 | } |
@@ -789,7 +789,7 @@ discard block |
||
| 789 | 789 | * |
| 790 | 790 | * @return $this |
| 791 | 791 | */ |
| 792 | - public function setDisplayColors( $displayColors ) |
|
| 792 | + public function setDisplayColors($displayColors) |
|
| 793 | 793 | { |
| 794 | 794 | $this->displayColors = !!$displayColors; |
| 795 | 795 | |
@@ -801,7 +801,7 @@ discard block |
||
| 801 | 801 | */ |
| 802 | 802 | public function callbacks() |
| 803 | 803 | { |
| 804 | - if( is_null( $this->callbacks ) ) { |
|
| 804 | + if (is_null($this->callbacks)) { |
|
| 805 | 805 | $this->callbacks = new Callbacks(); |
| 806 | 806 | } |
| 807 | 807 | |
@@ -813,6 +813,6 @@ discard block |
||
| 813 | 813 | */ |
| 814 | 814 | public function jsonSerialize() |
| 815 | 815 | { |
| 816 | - return Json::encode( $this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ] ); |
|
| 816 | + return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]); |
|
| 817 | 817 | } |
| 818 | 818 | } |
| 819 | 819 | \ No newline at end of file |