GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 3a133f...0c15e3 )
by halfpastfour
01:20 queued 11s
created
src/LabelsCollection.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
  */
13 13
 class LabelsCollection extends ArrayAccess implements JsonSerializable
14 14
 {
15
-    /**
16
-     * @return array
17
-     */
18
-    public function jsonSerialize()
19
-    {
20
-        return $this->data;
21
-    }
15
+	/**
16
+	 * @return array
17
+	 */
18
+	public function jsonSerialize()
19
+	{
20
+		return $this->data;
21
+	}
22 22
 }
Please login to merge, or discard this patch.
src/Options/Scale.php 1 patch
Indentation   +584 added lines, -584 removed lines patch added patch discarded remove patch
@@ -16,588 +16,588 @@
 block discarded – undo
16 16
  */
17 17
 abstract class Scale implements ArraySerializableInterface, JsonSerializable
18 18
 {
19
-    use ArraySerializable;
20
-
21
-    /**
22
-     * @var string
23
-     */
24
-    protected $type;
25
-
26
-    /**
27
-     * @var bool
28
-     */
29
-    protected $display;
30
-
31
-    /**
32
-     * @var string
33
-     */
34
-    protected $id;
35
-
36
-    /**
37
-     * @var bool
38
-     */
39
-    protected $stacked;
40
-
41
-    /**
42
-     * @var int
43
-     */
44
-    protected $barThickness;
45
-
46
-    /**
47
-     * @var string
48
-     */
49
-    protected $position;
50
-
51
-    /**
52
-     * @var string
53
-     */
54
-    protected $beforeUpdate;
55
-
56
-    /**
57
-     * @var string
58
-     */
59
-    protected $beforeSetDimensions;
60
-
61
-    /**
62
-     * @var string
63
-     */
64
-    protected $afterSetDimensions;
65
-
66
-    /**
67
-     * @var string
68
-     */
69
-    protected $beforeDataLimits;
70
-
71
-    /**
72
-     * @var string
73
-     */
74
-    protected $afterDataLimits;
75
-
76
-    /**
77
-     * @var string
78
-     */
79
-    protected $beforeBuildTicks;
80
-
81
-    /**
82
-     * @var string
83
-     */
84
-    protected $afterBuildTicks;
85
-
86
-    /**
87
-     * @var string
88
-     */
89
-    protected $beforeTickToLabelConversion;
90
-
91
-    /**
92
-     * @var string
93
-     */
94
-    protected $afterTickToLabelConversion;
95
-
96
-    /**
97
-     * @var string
98
-     */
99
-    protected $beforeCalculateTickRotation;
100
-
101
-    /**
102
-     * @var string
103
-     */
104
-    protected $afterCalculateTickRotation;
105
-
106
-    /**
107
-     * @var string
108
-     */
109
-    protected $beforeFit;
110
-
111
-    /**
112
-     * @var string
113
-     */
114
-    protected $afterFit;
115
-
116
-    /**
117
-     * @var string
118
-     */
119
-    protected $afterUpdate;
120
-
121
-    /**
122
-     * @var GridLines
123
-     */
124
-    protected $gridLines;
125
-
126
-    /**
127
-     * @var ScaleLabel
128
-     */
129
-    protected $scaleLabel;
130
-
131
-    /**
132
-     * @var Ticks
133
-     */
134
-    protected $ticks;
135
-
136
-    /**
137
-     * @return string
138
-     */
139
-    public function getType()
140
-    {
141
-        return $this->type;
142
-    }
143
-
144
-    /**
145
-     * @param string $type
146
-     *
147
-     * @return $this
148
-     */
149
-    public function setType($type)
150
-    {
151
-        $this->type = $type;
152
-
153
-        return $this;
154
-    }
155
-
156
-    /**
157
-     * @return bool
158
-     */
159
-    public function isDisplay()
160
-    {
161
-        return $this->display;
162
-    }
163
-
164
-    /**
165
-     * @param bool $display
166
-     *
167
-     * @return $this
168
-     */
169
-    public function setDisplay($display)
170
-    {
171
-        $this->display = $display;
172
-
173
-        return $this;
174
-    }
175
-
176
-    /**
177
-     * @return string
178
-     */
179
-    public function getId()
180
-    {
181
-        return $this->id;
182
-    }
183
-
184
-    /**
185
-     * @param string $id
186
-     *
187
-     * @return $this
188
-     */
189
-    public function setId($id)
190
-    {
191
-        $this->id = strval($id);
192
-
193
-        return $this;
194
-    }
195
-
196
-    /**
197
-     * @return bool
198
-     */
199
-    public function isStacked()
200
-    {
201
-        return $this->stacked;
202
-    }
203
-
204
-    /**
205
-     * @param bool $stacked
206
-     *
207
-     * @return $this
208
-     */
209
-    public function setStacked($stacked)
210
-    {
211
-        $this->stacked = ! ! $stacked;
212
-
213
-        return $this;
214
-    }
215
-
216
-    /**
217
-     * @return int
218
-     */
219
-    public function getBarThickness()
220
-    {
221
-        return $this->barThickness;
222
-    }
223
-
224
-    /**
225
-     * @param int $barThickness
226
-     *
227
-     * @return $this
228
-     */
229
-    public function setBarThickness($barThickness)
230
-    {
231
-        $this->barThickness = intval($barThickness);
232
-
233
-        return $this;
234
-    }
235
-
236
-    /**
237
-     * @return string
238
-     */
239
-    public function getPosition()
240
-    {
241
-        return $this->position;
242
-    }
243
-
244
-    /**
245
-     * @param string $position
246
-     *
247
-     * @return $this
248
-     */
249
-    public function setPosition($position)
250
-    {
251
-        $this->position = strval($position);
252
-
253
-        return $this;
254
-    }
255
-
256
-    /**
257
-     * @return string
258
-     */
259
-    public function getBeforeUpdate()
260
-    {
261
-        return $this->beforeUpdate;
262
-    }
263
-
264
-    /**
265
-     * @param string $beforeUpdate
266
-     *
267
-     * @return $this
268
-     */
269
-    public function setBeforeUpdate($beforeUpdate)
270
-    {
271
-        $this->beforeUpdate = strval($beforeUpdate);
272
-
273
-        return $this;
274
-    }
275
-
276
-    /**
277
-     * @return string
278
-     */
279
-    public function getBeforeSetDimensions()
280
-    {
281
-        return $this->beforeSetDimensions;
282
-    }
283
-
284
-    /**
285
-     * @param string $beforeSetDimensions
286
-     *
287
-     * @return $this
288
-     */
289
-    public function setBeforeSetDimensions($beforeSetDimensions)
290
-    {
291
-        $this->beforeSetDimensions = strval($beforeSetDimensions);
292
-
293
-        return $this;
294
-    }
295
-
296
-    /**
297
-     * @return string
298
-     */
299
-    public function getAfterSetDimensions()
300
-    {
301
-        return $this->afterSetDimensions;
302
-    }
303
-
304
-    /**
305
-     * @param string $afterSetDimensions
306
-     *
307
-     * @return $this
308
-     */
309
-    public function setAfterSetDimensions($afterSetDimensions)
310
-    {
311
-        $this->afterSetDimensions = strval($afterSetDimensions);
312
-
313
-        return $this;
314
-    }
315
-
316
-    /**
317
-     * @return string
318
-     */
319
-    public function getBeforeDataLimits()
320
-    {
321
-        return $this->beforeDataLimits;
322
-    }
323
-
324
-    /**
325
-     * @param string $beforeDataLimits
326
-     *
327
-     * @return $this
328
-     */
329
-    public function setBeforeDataLimits($beforeDataLimits)
330
-    {
331
-        $this->beforeDataLimits = strval($beforeDataLimits);
332
-
333
-        return $this;
334
-    }
335
-
336
-    /**
337
-     * @return string
338
-     */
339
-    public function getAfterDataLimits()
340
-    {
341
-        return $this->afterDataLimits;
342
-    }
343
-
344
-    /**
345
-     * @param string $afterDataLimits
346
-     *
347
-     * @return $this
348
-     */
349
-    public function setAfterDataLimits($afterDataLimits)
350
-    {
351
-        $this->afterDataLimits = strval($afterDataLimits);
352
-
353
-        return $this;
354
-    }
355
-
356
-    /**
357
-     * @return string
358
-     */
359
-    public function getBeforeBuildTicks()
360
-    {
361
-        return $this->beforeBuildTicks;
362
-    }
363
-
364
-    /**
365
-     * @param string $beforeBuildTicks
366
-     *
367
-     * @return $this
368
-     */
369
-    public function setBeforeBuildTicks($beforeBuildTicks)
370
-    {
371
-        $this->beforeBuildTicks = strval($beforeBuildTicks);
372
-
373
-        return $this;
374
-    }
375
-
376
-    /**
377
-     * @return string
378
-     */
379
-    public function getAfterBuildTicks()
380
-    {
381
-        return $this->afterBuildTicks;
382
-    }
383
-
384
-    /**
385
-     * @param string $afterBuildTicks
386
-     *
387
-     * @return $this
388
-     */
389
-    public function setAfterBuildTicks($afterBuildTicks)
390
-    {
391
-        $this->afterBuildTicks = strval($afterBuildTicks);
392
-
393
-        return $this;
394
-    }
395
-
396
-    /**
397
-     * @return string
398
-     */
399
-    public function getBeforeTickToLabelConversion()
400
-    {
401
-        return $this->beforeTickToLabelConversion;
402
-    }
403
-
404
-    /**
405
-     * @param string $beforeTickToLabelConversion
406
-     *
407
-     * @return $this
408
-     */
409
-    public function setBeforeTickToLabelConversion($beforeTickToLabelConversion)
410
-    {
411
-        $this->beforeTickToLabelConversion = strval($beforeTickToLabelConversion);
412
-
413
-        return $this;
414
-    }
415
-
416
-    /**
417
-     * @return string
418
-     */
419
-    public function getAfterTickToLabelConversion()
420
-    {
421
-        return $this->afterTickToLabelConversion;
422
-    }
423
-
424
-    /**
425
-     * @param string $afterTickToLabelConversion
426
-     *
427
-     * @return $this
428
-     */
429
-    public function setAfterTickToLabelConversion($afterTickToLabelConversion)
430
-    {
431
-        $this->afterTickToLabelConversion = strval($afterTickToLabelConversion);
432
-
433
-        return $this;
434
-    }
435
-
436
-    /**
437
-     * @return string
438
-     */
439
-    public function getBeforeCalculateTickRotation()
440
-    {
441
-        return $this->beforeCalculateTickRotation;
442
-    }
443
-
444
-    /**
445
-     * @param string $beforeCalculateTickRotation
446
-     *
447
-     * @return $this
448
-     */
449
-    public function setBeforeCalculateTickRotation($beforeCalculateTickRotation)
450
-    {
451
-        $this->beforeCalculateTickRotation = strval($beforeCalculateTickRotation);
452
-
453
-        return $this;
454
-    }
455
-
456
-    /**
457
-     * @return string
458
-     */
459
-    public function getAfterCalculateTickRotation()
460
-    {
461
-        return $this->afterCalculateTickRotation;
462
-    }
463
-
464
-    /**
465
-     * @param string $afterCalculateTickRotation
466
-     *
467
-     * @return $this
468
-     */
469
-    public function setAfterCalculateTickRotation($afterCalculateTickRotation)
470
-    {
471
-        $this->afterCalculateTickRotation = strval($afterCalculateTickRotation);
472
-
473
-        return $this;
474
-    }
475
-
476
-    /**
477
-     * @return string
478
-     */
479
-    public function getBeforeFit()
480
-    {
481
-        return $this->beforeFit;
482
-    }
483
-
484
-    /**
485
-     * @param string $beforeFit
486
-     *
487
-     * @return $this
488
-     */
489
-    public function setBeforeFit($beforeFit)
490
-    {
491
-        $this->beforeFit = strval($beforeFit);
492
-
493
-        return $this;
494
-    }
495
-
496
-    /**
497
-     * @return string
498
-     */
499
-    public function getAfterFit()
500
-    {
501
-        return $this->afterFit;
502
-    }
503
-
504
-    /**
505
-     * @param string $afterFit
506
-     *
507
-     * @return $this
508
-     */
509
-    public function setAfterFit($afterFit)
510
-    {
511
-        $this->afterFit = strval($afterFit);
512
-
513
-        return $this;
514
-    }
515
-
516
-    /**
517
-     * @return string
518
-     */
519
-    public function getAfterUpdate()
520
-    {
521
-        return $this->afterUpdate;
522
-    }
523
-
524
-    /**
525
-     * @param string $afterUpdate
526
-     *
527
-     * @return $this
528
-     */
529
-    public function setAfterUpdate($afterUpdate)
530
-    {
531
-        $this->afterUpdate = strval($afterUpdate);
532
-
533
-        return $this;
534
-    }
535
-
536
-    /**
537
-     * @return GridLines
538
-     */
539
-    public function getGridLines()
540
-    {
541
-        return $this->gridLines;
542
-    }
543
-
544
-    /**
545
-     * @return GridLines
546
-     */
547
-    public function gridLines()
548
-    {
549
-        if (is_null($this->gridLines)) {
550
-            $this->gridLines = new GridLines();
551
-        }
552
-
553
-        return $this->gridLines;
554
-    }
555
-
556
-    /**
557
-     * @return ScaleLabel
558
-     */
559
-    public function getScaleLabel()
560
-    {
561
-        return $this->scaleLabel;
562
-    }
563
-
564
-    /**
565
-     * @return ScaleLabel
566
-     */
567
-    public function scaleLabel()
568
-    {
569
-        if (is_null($this->scaleLabel)) {
570
-            $this->scaleLabel = new ScaleLabel();
571
-        }
572
-
573
-        return $this->scaleLabel;
574
-    }
575
-
576
-    /**
577
-     * @return Ticks
578
-     */
579
-    public function getTicks()
580
-    {
581
-        return $this->ticks;
582
-    }
583
-
584
-    /**
585
-     * @return Ticks
586
-     */
587
-    public function ticks()
588
-    {
589
-        if (is_null($this->ticks)) {
590
-            $this->ticks = new Ticks();
591
-        }
592
-
593
-        return $this->ticks;
594
-    }
595
-
596
-    /**
597
-     * @return array
598
-     */
599
-    public function jsonSerialize()
600
-    {
601
-        return $this->getArrayCopy();
602
-    }
19
+	use ArraySerializable;
20
+
21
+	/**
22
+	 * @var string
23
+	 */
24
+	protected $type;
25
+
26
+	/**
27
+	 * @var bool
28
+	 */
29
+	protected $display;
30
+
31
+	/**
32
+	 * @var string
33
+	 */
34
+	protected $id;
35
+
36
+	/**
37
+	 * @var bool
38
+	 */
39
+	protected $stacked;
40
+
41
+	/**
42
+	 * @var int
43
+	 */
44
+	protected $barThickness;
45
+
46
+	/**
47
+	 * @var string
48
+	 */
49
+	protected $position;
50
+
51
+	/**
52
+	 * @var string
53
+	 */
54
+	protected $beforeUpdate;
55
+
56
+	/**
57
+	 * @var string
58
+	 */
59
+	protected $beforeSetDimensions;
60
+
61
+	/**
62
+	 * @var string
63
+	 */
64
+	protected $afterSetDimensions;
65
+
66
+	/**
67
+	 * @var string
68
+	 */
69
+	protected $beforeDataLimits;
70
+
71
+	/**
72
+	 * @var string
73
+	 */
74
+	protected $afterDataLimits;
75
+
76
+	/**
77
+	 * @var string
78
+	 */
79
+	protected $beforeBuildTicks;
80
+
81
+	/**
82
+	 * @var string
83
+	 */
84
+	protected $afterBuildTicks;
85
+
86
+	/**
87
+	 * @var string
88
+	 */
89
+	protected $beforeTickToLabelConversion;
90
+
91
+	/**
92
+	 * @var string
93
+	 */
94
+	protected $afterTickToLabelConversion;
95
+
96
+	/**
97
+	 * @var string
98
+	 */
99
+	protected $beforeCalculateTickRotation;
100
+
101
+	/**
102
+	 * @var string
103
+	 */
104
+	protected $afterCalculateTickRotation;
105
+
106
+	/**
107
+	 * @var string
108
+	 */
109
+	protected $beforeFit;
110
+
111
+	/**
112
+	 * @var string
113
+	 */
114
+	protected $afterFit;
115
+
116
+	/**
117
+	 * @var string
118
+	 */
119
+	protected $afterUpdate;
120
+
121
+	/**
122
+	 * @var GridLines
123
+	 */
124
+	protected $gridLines;
125
+
126
+	/**
127
+	 * @var ScaleLabel
128
+	 */
129
+	protected $scaleLabel;
130
+
131
+	/**
132
+	 * @var Ticks
133
+	 */
134
+	protected $ticks;
135
+
136
+	/**
137
+	 * @return string
138
+	 */
139
+	public function getType()
140
+	{
141
+		return $this->type;
142
+	}
143
+
144
+	/**
145
+	 * @param string $type
146
+	 *
147
+	 * @return $this
148
+	 */
149
+	public function setType($type)
150
+	{
151
+		$this->type = $type;
152
+
153
+		return $this;
154
+	}
155
+
156
+	/**
157
+	 * @return bool
158
+	 */
159
+	public function isDisplay()
160
+	{
161
+		return $this->display;
162
+	}
163
+
164
+	/**
165
+	 * @param bool $display
166
+	 *
167
+	 * @return $this
168
+	 */
169
+	public function setDisplay($display)
170
+	{
171
+		$this->display = $display;
172
+
173
+		return $this;
174
+	}
175
+
176
+	/**
177
+	 * @return string
178
+	 */
179
+	public function getId()
180
+	{
181
+		return $this->id;
182
+	}
183
+
184
+	/**
185
+	 * @param string $id
186
+	 *
187
+	 * @return $this
188
+	 */
189
+	public function setId($id)
190
+	{
191
+		$this->id = strval($id);
192
+
193
+		return $this;
194
+	}
195
+
196
+	/**
197
+	 * @return bool
198
+	 */
199
+	public function isStacked()
200
+	{
201
+		return $this->stacked;
202
+	}
203
+
204
+	/**
205
+	 * @param bool $stacked
206
+	 *
207
+	 * @return $this
208
+	 */
209
+	public function setStacked($stacked)
210
+	{
211
+		$this->stacked = ! ! $stacked;
212
+
213
+		return $this;
214
+	}
215
+
216
+	/**
217
+	 * @return int
218
+	 */
219
+	public function getBarThickness()
220
+	{
221
+		return $this->barThickness;
222
+	}
223
+
224
+	/**
225
+	 * @param int $barThickness
226
+	 *
227
+	 * @return $this
228
+	 */
229
+	public function setBarThickness($barThickness)
230
+	{
231
+		$this->barThickness = intval($barThickness);
232
+
233
+		return $this;
234
+	}
235
+
236
+	/**
237
+	 * @return string
238
+	 */
239
+	public function getPosition()
240
+	{
241
+		return $this->position;
242
+	}
243
+
244
+	/**
245
+	 * @param string $position
246
+	 *
247
+	 * @return $this
248
+	 */
249
+	public function setPosition($position)
250
+	{
251
+		$this->position = strval($position);
252
+
253
+		return $this;
254
+	}
255
+
256
+	/**
257
+	 * @return string
258
+	 */
259
+	public function getBeforeUpdate()
260
+	{
261
+		return $this->beforeUpdate;
262
+	}
263
+
264
+	/**
265
+	 * @param string $beforeUpdate
266
+	 *
267
+	 * @return $this
268
+	 */
269
+	public function setBeforeUpdate($beforeUpdate)
270
+	{
271
+		$this->beforeUpdate = strval($beforeUpdate);
272
+
273
+		return $this;
274
+	}
275
+
276
+	/**
277
+	 * @return string
278
+	 */
279
+	public function getBeforeSetDimensions()
280
+	{
281
+		return $this->beforeSetDimensions;
282
+	}
283
+
284
+	/**
285
+	 * @param string $beforeSetDimensions
286
+	 *
287
+	 * @return $this
288
+	 */
289
+	public function setBeforeSetDimensions($beforeSetDimensions)
290
+	{
291
+		$this->beforeSetDimensions = strval($beforeSetDimensions);
292
+
293
+		return $this;
294
+	}
295
+
296
+	/**
297
+	 * @return string
298
+	 */
299
+	public function getAfterSetDimensions()
300
+	{
301
+		return $this->afterSetDimensions;
302
+	}
303
+
304
+	/**
305
+	 * @param string $afterSetDimensions
306
+	 *
307
+	 * @return $this
308
+	 */
309
+	public function setAfterSetDimensions($afterSetDimensions)
310
+	{
311
+		$this->afterSetDimensions = strval($afterSetDimensions);
312
+
313
+		return $this;
314
+	}
315
+
316
+	/**
317
+	 * @return string
318
+	 */
319
+	public function getBeforeDataLimits()
320
+	{
321
+		return $this->beforeDataLimits;
322
+	}
323
+
324
+	/**
325
+	 * @param string $beforeDataLimits
326
+	 *
327
+	 * @return $this
328
+	 */
329
+	public function setBeforeDataLimits($beforeDataLimits)
330
+	{
331
+		$this->beforeDataLimits = strval($beforeDataLimits);
332
+
333
+		return $this;
334
+	}
335
+
336
+	/**
337
+	 * @return string
338
+	 */
339
+	public function getAfterDataLimits()
340
+	{
341
+		return $this->afterDataLimits;
342
+	}
343
+
344
+	/**
345
+	 * @param string $afterDataLimits
346
+	 *
347
+	 * @return $this
348
+	 */
349
+	public function setAfterDataLimits($afterDataLimits)
350
+	{
351
+		$this->afterDataLimits = strval($afterDataLimits);
352
+
353
+		return $this;
354
+	}
355
+
356
+	/**
357
+	 * @return string
358
+	 */
359
+	public function getBeforeBuildTicks()
360
+	{
361
+		return $this->beforeBuildTicks;
362
+	}
363
+
364
+	/**
365
+	 * @param string $beforeBuildTicks
366
+	 *
367
+	 * @return $this
368
+	 */
369
+	public function setBeforeBuildTicks($beforeBuildTicks)
370
+	{
371
+		$this->beforeBuildTicks = strval($beforeBuildTicks);
372
+
373
+		return $this;
374
+	}
375
+
376
+	/**
377
+	 * @return string
378
+	 */
379
+	public function getAfterBuildTicks()
380
+	{
381
+		return $this->afterBuildTicks;
382
+	}
383
+
384
+	/**
385
+	 * @param string $afterBuildTicks
386
+	 *
387
+	 * @return $this
388
+	 */
389
+	public function setAfterBuildTicks($afterBuildTicks)
390
+	{
391
+		$this->afterBuildTicks = strval($afterBuildTicks);
392
+
393
+		return $this;
394
+	}
395
+
396
+	/**
397
+	 * @return string
398
+	 */
399
+	public function getBeforeTickToLabelConversion()
400
+	{
401
+		return $this->beforeTickToLabelConversion;
402
+	}
403
+
404
+	/**
405
+	 * @param string $beforeTickToLabelConversion
406
+	 *
407
+	 * @return $this
408
+	 */
409
+	public function setBeforeTickToLabelConversion($beforeTickToLabelConversion)
410
+	{
411
+		$this->beforeTickToLabelConversion = strval($beforeTickToLabelConversion);
412
+
413
+		return $this;
414
+	}
415
+
416
+	/**
417
+	 * @return string
418
+	 */
419
+	public function getAfterTickToLabelConversion()
420
+	{
421
+		return $this->afterTickToLabelConversion;
422
+	}
423
+
424
+	/**
425
+	 * @param string $afterTickToLabelConversion
426
+	 *
427
+	 * @return $this
428
+	 */
429
+	public function setAfterTickToLabelConversion($afterTickToLabelConversion)
430
+	{
431
+		$this->afterTickToLabelConversion = strval($afterTickToLabelConversion);
432
+
433
+		return $this;
434
+	}
435
+
436
+	/**
437
+	 * @return string
438
+	 */
439
+	public function getBeforeCalculateTickRotation()
440
+	{
441
+		return $this->beforeCalculateTickRotation;
442
+	}
443
+
444
+	/**
445
+	 * @param string $beforeCalculateTickRotation
446
+	 *
447
+	 * @return $this
448
+	 */
449
+	public function setBeforeCalculateTickRotation($beforeCalculateTickRotation)
450
+	{
451
+		$this->beforeCalculateTickRotation = strval($beforeCalculateTickRotation);
452
+
453
+		return $this;
454
+	}
455
+
456
+	/**
457
+	 * @return string
458
+	 */
459
+	public function getAfterCalculateTickRotation()
460
+	{
461
+		return $this->afterCalculateTickRotation;
462
+	}
463
+
464
+	/**
465
+	 * @param string $afterCalculateTickRotation
466
+	 *
467
+	 * @return $this
468
+	 */
469
+	public function setAfterCalculateTickRotation($afterCalculateTickRotation)
470
+	{
471
+		$this->afterCalculateTickRotation = strval($afterCalculateTickRotation);
472
+
473
+		return $this;
474
+	}
475
+
476
+	/**
477
+	 * @return string
478
+	 */
479
+	public function getBeforeFit()
480
+	{
481
+		return $this->beforeFit;
482
+	}
483
+
484
+	/**
485
+	 * @param string $beforeFit
486
+	 *
487
+	 * @return $this
488
+	 */
489
+	public function setBeforeFit($beforeFit)
490
+	{
491
+		$this->beforeFit = strval($beforeFit);
492
+
493
+		return $this;
494
+	}
495
+
496
+	/**
497
+	 * @return string
498
+	 */
499
+	public function getAfterFit()
500
+	{
501
+		return $this->afterFit;
502
+	}
503
+
504
+	/**
505
+	 * @param string $afterFit
506
+	 *
507
+	 * @return $this
508
+	 */
509
+	public function setAfterFit($afterFit)
510
+	{
511
+		$this->afterFit = strval($afterFit);
512
+
513
+		return $this;
514
+	}
515
+
516
+	/**
517
+	 * @return string
518
+	 */
519
+	public function getAfterUpdate()
520
+	{
521
+		return $this->afterUpdate;
522
+	}
523
+
524
+	/**
525
+	 * @param string $afterUpdate
526
+	 *
527
+	 * @return $this
528
+	 */
529
+	public function setAfterUpdate($afterUpdate)
530
+	{
531
+		$this->afterUpdate = strval($afterUpdate);
532
+
533
+		return $this;
534
+	}
535
+
536
+	/**
537
+	 * @return GridLines
538
+	 */
539
+	public function getGridLines()
540
+	{
541
+		return $this->gridLines;
542
+	}
543
+
544
+	/**
545
+	 * @return GridLines
546
+	 */
547
+	public function gridLines()
548
+	{
549
+		if (is_null($this->gridLines)) {
550
+			$this->gridLines = new GridLines();
551
+		}
552
+
553
+		return $this->gridLines;
554
+	}
555
+
556
+	/**
557
+	 * @return ScaleLabel
558
+	 */
559
+	public function getScaleLabel()
560
+	{
561
+		return $this->scaleLabel;
562
+	}
563
+
564
+	/**
565
+	 * @return ScaleLabel
566
+	 */
567
+	public function scaleLabel()
568
+	{
569
+		if (is_null($this->scaleLabel)) {
570
+			$this->scaleLabel = new ScaleLabel();
571
+		}
572
+
573
+		return $this->scaleLabel;
574
+	}
575
+
576
+	/**
577
+	 * @return Ticks
578
+	 */
579
+	public function getTicks()
580
+	{
581
+		return $this->ticks;
582
+	}
583
+
584
+	/**
585
+	 * @return Ticks
586
+	 */
587
+	public function ticks()
588
+	{
589
+		if (is_null($this->ticks)) {
590
+			$this->ticks = new Ticks();
591
+		}
592
+
593
+		return $this->ticks;
594
+	}
595
+
596
+	/**
597
+	 * @return array
598
+	 */
599
+	public function jsonSerialize()
600
+	{
601
+		return $this->getArrayCopy();
602
+	}
603 603
 }
Please login to merge, or discard this patch.
src/Options/Elements.php 1 patch
Indentation   +109 added lines, -109 removed lines patch added patch discarded remove patch
@@ -17,113 +17,113 @@
 block discarded – undo
17 17
  */
18 18
 class Elements implements ArraySerializableInterface, JsonSerializable
19 19
 {
20
-    use ArraySerializable;
21
-
22
-    /**
23
-     * @var Rectangle
24
-     */
25
-    private $rectangle;
26
-
27
-    /**
28
-     * @var Line
29
-     */
30
-    private $line;
31
-
32
-    /**
33
-     * @var Point
34
-     */
35
-    private $point;
36
-
37
-    /**
38
-     * @var Arc
39
-     */
40
-    private $arc;
41
-
42
-    /**
43
-     * @return Rectangle
44
-     */
45
-    public function getRectangle()
46
-    {
47
-        return $this->rectangle;
48
-    }
49
-
50
-    /**
51
-     * @return Rectangle
52
-     */
53
-    public function rectangle()
54
-    {
55
-        if (is_null($this->rectangle)) {
56
-            $this->rectangle = new Rectangle();
57
-        }
58
-
59
-        return $this->rectangle;
60
-    }
61
-
62
-    /**
63
-     * @return Line
64
-     */
65
-    public function getLine()
66
-    {
67
-        return $this->line;
68
-    }
69
-
70
-    /**
71
-     * @return Line
72
-     */
73
-    public function line()
74
-    {
75
-        if (is_null($this->line)) {
76
-            $this->line = new Line();
77
-        }
78
-
79
-        return $this->line;
80
-    }
81
-
82
-    /**
83
-     * @return Point
84
-     */
85
-    public function getPoint()
86
-    {
87
-        return $this->point;
88
-    }
89
-
90
-    /**
91
-     * @return Point
92
-     */
93
-    public function point()
94
-    {
95
-        if (is_null($this->point)) {
96
-            $this->point = new Point();
97
-        }
98
-
99
-        return $this->point;
100
-    }
101
-
102
-    /**
103
-     * @return Arc
104
-     */
105
-    public function getArc()
106
-    {
107
-        return $this->arc;
108
-    }
109
-
110
-    /**
111
-     * @return Arc
112
-     */
113
-    public function arc()
114
-    {
115
-        if (is_null($this->arc)) {
116
-            $this->arc = new Arc();
117
-        }
118
-
119
-        return $this->arc;
120
-    }
121
-
122
-    /**
123
-     * @return array
124
-     */
125
-    public function jsonSerialize()
126
-    {
127
-        return $this->getArrayCopy();
128
-    }
20
+	use ArraySerializable;
21
+
22
+	/**
23
+	 * @var Rectangle
24
+	 */
25
+	private $rectangle;
26
+
27
+	/**
28
+	 * @var Line
29
+	 */
30
+	private $line;
31
+
32
+	/**
33
+	 * @var Point
34
+	 */
35
+	private $point;
36
+
37
+	/**
38
+	 * @var Arc
39
+	 */
40
+	private $arc;
41
+
42
+	/**
43
+	 * @return Rectangle
44
+	 */
45
+	public function getRectangle()
46
+	{
47
+		return $this->rectangle;
48
+	}
49
+
50
+	/**
51
+	 * @return Rectangle
52
+	 */
53
+	public function rectangle()
54
+	{
55
+		if (is_null($this->rectangle)) {
56
+			$this->rectangle = new Rectangle();
57
+		}
58
+
59
+		return $this->rectangle;
60
+	}
61
+
62
+	/**
63
+	 * @return Line
64
+	 */
65
+	public function getLine()
66
+	{
67
+		return $this->line;
68
+	}
69
+
70
+	/**
71
+	 * @return Line
72
+	 */
73
+	public function line()
74
+	{
75
+		if (is_null($this->line)) {
76
+			$this->line = new Line();
77
+		}
78
+
79
+		return $this->line;
80
+	}
81
+
82
+	/**
83
+	 * @return Point
84
+	 */
85
+	public function getPoint()
86
+	{
87
+		return $this->point;
88
+	}
89
+
90
+	/**
91
+	 * @return Point
92
+	 */
93
+	public function point()
94
+	{
95
+		if (is_null($this->point)) {
96
+			$this->point = new Point();
97
+		}
98
+
99
+		return $this->point;
100
+	}
101
+
102
+	/**
103
+	 * @return Arc
104
+	 */
105
+	public function getArc()
106
+	{
107
+		return $this->arc;
108
+	}
109
+
110
+	/**
111
+	 * @return Arc
112
+	 */
113
+	public function arc()
114
+	{
115
+		if (is_null($this->arc)) {
116
+			$this->arc = new Arc();
117
+		}
118
+
119
+		return $this->arc;
120
+	}
121
+
122
+	/**
123
+	 * @return array
124
+	 */
125
+	public function jsonSerialize()
126
+	{
127
+		return $this->getArrayCopy();
128
+	}
129 129
 }
Please login to merge, or discard this patch.
src/Options/Layout/Padding.php 1 patch
Indentation   +109 added lines, -109 removed lines patch added patch discarded remove patch
@@ -12,113 +12,113 @@
 block discarded – undo
12 12
  */
13 13
 class Padding implements ArraySerializableInterface, JsonSerializable
14 14
 {
15
-    use ArraySerializable;
16
-
17
-    /**
18
-     * @var int
19
-     */
20
-    private $bottom;
21
-
22
-    /**
23
-     * @var int
24
-     */
25
-    private $left;
26
-
27
-    /**
28
-     * @var int
29
-     */
30
-    private $right;
31
-
32
-    /**
33
-     * @var int
34
-     */
35
-    private $top;
36
-
37
-    /**
38
-     * @return int
39
-     */
40
-    public function getBottom()
41
-    {
42
-        return $this->bottom;
43
-    }
44
-
45
-    /**
46
-     * @param int $bottom
47
-     *
48
-     * @return $this
49
-     */
50
-    public function setBottom($bottom)
51
-    {
52
-        $this->bottom = intval($bottom);
53
-
54
-        return $this;
55
-    }
56
-
57
-    /**
58
-     * @return int
59
-     */
60
-    public function getLeft()
61
-    {
62
-        return $this->left;
63
-    }
64
-
65
-    /**
66
-     * @param int $left
67
-     *
68
-     * @return $this
69
-     */
70
-    public function setLeft($left)
71
-    {
72
-        $this->left = intval($left);
73
-
74
-        return $this;
75
-    }
76
-
77
-    /**
78
-     * @return int
79
-     */
80
-    public function getRight()
81
-    {
82
-        return $this->right;
83
-    }
84
-
85
-    /**
86
-     * @param int $right
87
-     *
88
-     * @return $this
89
-     */
90
-    public function setRight($right)
91
-    {
92
-        $this->right = intval($right);
93
-
94
-        return $this;
95
-    }
96
-
97
-    /**
98
-     * @return int
99
-     */
100
-    public function getTop()
101
-    {
102
-        return $this->top;
103
-    }
104
-
105
-    /**
106
-     * @param int $top
107
-     *
108
-     * @return $this
109
-     */
110
-    public function setTop($top)
111
-    {
112
-        $this->top = intval($top);
113
-
114
-        return $this;
115
-    }
116
-
117
-    /**
118
-     * @return array
119
-     */
120
-    public function jsonSerialize()
121
-    {
122
-        return $this->getArrayCopy();
123
-    }
15
+	use ArraySerializable;
16
+
17
+	/**
18
+	 * @var int
19
+	 */
20
+	private $bottom;
21
+
22
+	/**
23
+	 * @var int
24
+	 */
25
+	private $left;
26
+
27
+	/**
28
+	 * @var int
29
+	 */
30
+	private $right;
31
+
32
+	/**
33
+	 * @var int
34
+	 */
35
+	private $top;
36
+
37
+	/**
38
+	 * @return int
39
+	 */
40
+	public function getBottom()
41
+	{
42
+		return $this->bottom;
43
+	}
44
+
45
+	/**
46
+	 * @param int $bottom
47
+	 *
48
+	 * @return $this
49
+	 */
50
+	public function setBottom($bottom)
51
+	{
52
+		$this->bottom = intval($bottom);
53
+
54
+		return $this;
55
+	}
56
+
57
+	/**
58
+	 * @return int
59
+	 */
60
+	public function getLeft()
61
+	{
62
+		return $this->left;
63
+	}
64
+
65
+	/**
66
+	 * @param int $left
67
+	 *
68
+	 * @return $this
69
+	 */
70
+	public function setLeft($left)
71
+	{
72
+		$this->left = intval($left);
73
+
74
+		return $this;
75
+	}
76
+
77
+	/**
78
+	 * @return int
79
+	 */
80
+	public function getRight()
81
+	{
82
+		return $this->right;
83
+	}
84
+
85
+	/**
86
+	 * @param int $right
87
+	 *
88
+	 * @return $this
89
+	 */
90
+	public function setRight($right)
91
+	{
92
+		$this->right = intval($right);
93
+
94
+		return $this;
95
+	}
96
+
97
+	/**
98
+	 * @return int
99
+	 */
100
+	public function getTop()
101
+	{
102
+		return $this->top;
103
+	}
104
+
105
+	/**
106
+	 * @param int $top
107
+	 *
108
+	 * @return $this
109
+	 */
110
+	public function setTop($top)
111
+	{
112
+		$this->top = intval($top);
113
+
114
+		return $this;
115
+	}
116
+
117
+	/**
118
+	 * @return array
119
+	 */
120
+	public function jsonSerialize()
121
+	{
122
+		return $this->getArrayCopy();
123
+	}
124 124
 }
Please login to merge, or discard this patch.
src/Options/Scales/Ticks.php 1 patch
Indentation   +459 added lines, -459 removed lines patch added patch discarded remove patch
@@ -14,463 +14,463 @@
 block discarded – undo
14 14
  */
15 15
 class Ticks implements ArraySerializableInterface, JsonSerializable
16 16
 {
17
-    use ArraySerializable;
18
-
19
-    /**
20
-     * @var float
21
-     */
22
-    private $suggestedMin;
23
-
24
-    /**
25
-     * @var bool
26
-     */
27
-    private $beginAtZero;
28
-
29
-    /**
30
-     * @var float
31
-     */
32
-    private $stepSize;
33
-
34
-    /**
35
-     * @var bool
36
-     */
37
-    private $autoSkip;
38
-
39
-    /**
40
-     * @var int
41
-     */
42
-    private $autoSkipPadding;
43
-
44
-    /**
45
-     * @var Expr
46
-     */
47
-    private $callback;
48
-
49
-    /**
50
-     * @var bool
51
-     */
52
-    private $display;
53
-
54
-    /**
55
-     * @var string
56
-     */
57
-    private $fontColor;
58
-
59
-    /**
60
-     * @var string
61
-     */
62
-    private $fontFamily;
63
-
64
-    /**
65
-     * @var int
66
-     */
67
-    private $fontSize;
68
-
69
-    /**
70
-     * @var string
71
-     */
72
-    private $fontStyle;
73
-
74
-    /**
75
-     * @var int
76
-     */
77
-    private $labelOffset;
78
-
79
-    /**
80
-     * @var int
81
-     */
82
-    private $maxRotation;
83
-
84
-    /**
85
-     * @var int
86
-     */
87
-    private $minRotation;
88
-
89
-    /**
90
-     * @var bool
91
-     */
92
-    private $mirror;
93
-
94
-    /**
95
-     * @var int
96
-     */
97
-    private $padding;
98
-
99
-    /**
100
-     * @var bool
101
-     */
102
-    private $reverse;
103
-
104
-    /**
105
-     * @var int
106
-     */
107
-    private $max;
108
-
109
-    /**
110
-     * @return float
111
-     */
112
-    public function getSuggestedMin()
113
-    {
114
-        return $this->suggestedMin;
115
-    }
116
-
117
-    /**
118
-     * @param float $suggestedMin
119
-     *
120
-     * @return $this
121
-     */
122
-    public function setSuggestedMin($suggestedMin)
123
-    {
124
-        $this->suggestedMin = floatval($suggestedMin);
125
-
126
-        return $this;
127
-    }
128
-
129
-    /**
130
-     * @return bool
131
-     */
132
-    public function isBeginAtZero()
133
-    {
134
-        return $this->beginAtZero;
135
-    }
136
-
137
-    /**
138
-     * @param bool $beginAtZero
139
-     *
140
-     * @return $this
141
-     */
142
-    public function setBeginAtZero($beginAtZero)
143
-    {
144
-        $this->beginAtZero = boolval($beginAtZero);
145
-
146
-        return $this;
147
-    }
148
-
149
-    /**
150
-     * @return float
151
-     */
152
-    public function getStepSize()
153
-    {
154
-        return $this->stepSize;
155
-    }
156
-
157
-    /**
158
-     * @param float $stepSize
159
-     *
160
-     * @return $this
161
-     */
162
-    public function setStepSize($stepSize)
163
-    {
164
-        $this->stepSize = floatval($stepSize);
165
-
166
-        return $this;
167
-    }
168
-
169
-    /**
170
-     * @return bool
171
-     */
172
-    public function isAutoSkip()
173
-    {
174
-        return $this->autoSkip;
175
-    }
176
-
177
-    /**
178
-     * @param bool $autoSkip
179
-     *
180
-     * @return $this
181
-     */
182
-    public function setAutoSkip($autoSkip)
183
-    {
184
-        $this->autoSkip = boolval($autoSkip);
185
-
186
-        return $this;
187
-    }
188
-
189
-    /**
190
-     * @return int
191
-     */
192
-    public function getAutoSkipPadding()
193
-    {
194
-        return $this->autoSkipPadding;
195
-    }
196
-
197
-    /**
198
-     * @param int $autoSkipPadding
199
-     *
200
-     * @return $this
201
-     */
202
-    public function setAutoSkipPadding($autoSkipPadding)
203
-    {
204
-        $this->autoSkipPadding = intval($autoSkipPadding);
205
-
206
-        return $this;
207
-    }
208
-
209
-    /**
210
-     * @return Expr
211
-     */
212
-    public function getCallback()
213
-    {
214
-        return $this->callback;
215
-    }
216
-
217
-    /**
218
-     * @param string $callback
219
-     *
220
-     * @return $this
221
-     */
222
-    public function setCallback($callback)
223
-    {
224
-        $this->callback = new Expr(strval($callback));
225
-
226
-        return $this;
227
-    }
228
-
229
-    /**
230
-     * @return bool
231
-     */
232
-    public function isDisplay()
233
-    {
234
-        return $this->display;
235
-    }
236
-
237
-    /**
238
-     * @param bool $display
239
-     *
240
-     * @return $this
241
-     */
242
-    public function setDisplay($display)
243
-    {
244
-        $this->display = boolval($display);
245
-
246
-        return $this;
247
-    }
248
-
249
-    /**
250
-     * @return string
251
-     */
252
-    public function getFontColor()
253
-    {
254
-        return $this->fontColor;
255
-    }
256
-
257
-    /**
258
-     * @param string $fontColor
259
-     *
260
-     * @return $this
261
-     */
262
-    public function setFontColor($fontColor)
263
-    {
264
-        $this->fontColor = strval($fontColor);
265
-
266
-        return $this;
267
-    }
268
-
269
-    /**
270
-     * @return string
271
-     */
272
-    public function getFontFamily()
273
-    {
274
-        return $this->fontFamily;
275
-    }
276
-
277
-    /**
278
-     * @param string $fontFamily
279
-     *
280
-     * @return $this
281
-     */
282
-    public function setFontFamily($fontFamily)
283
-    {
284
-        $this->fontFamily = strval($fontFamily);
285
-
286
-        return $this;
287
-    }
288
-
289
-    /**
290
-     * @return int
291
-     */
292
-    public function getFontSize()
293
-    {
294
-        return $this->fontSize;
295
-    }
296
-
297
-    /**
298
-     * @param int $fontSize
299
-     *
300
-     * @return $this
301
-     */
302
-    public function setFontSize($fontSize)
303
-    {
304
-        $this->fontSize = intval($fontSize);
305
-
306
-        return $this;
307
-    }
308
-
309
-    /**
310
-     * @return string
311
-     */
312
-    public function getFontStyle()
313
-    {
314
-        return $this->fontStyle;
315
-    }
316
-
317
-    /**
318
-     * @param string $fontStyle
319
-     *
320
-     * @return $this
321
-     */
322
-    public function setFontStyle($fontStyle)
323
-    {
324
-        $this->fontStyle = strval($fontStyle);
325
-
326
-        return $this;
327
-    }
328
-
329
-    /**
330
-     * @return int
331
-     */
332
-    public function getLabelOffset()
333
-    {
334
-        return $this->labelOffset;
335
-    }
336
-
337
-    /**
338
-     * @param int $labelOffset
339
-     *
340
-     * @return $this
341
-     */
342
-    public function setLabelOffset($labelOffset)
343
-    {
344
-        $this->labelOffset = intval($labelOffset);
345
-
346
-        return $this;
347
-    }
348
-
349
-    /**
350
-     * @return int
351
-     */
352
-    public function getMaxRotation()
353
-    {
354
-        return $this->maxRotation;
355
-    }
356
-
357
-    /**
358
-     * @param int $maxRotation
359
-     *
360
-     * @return $this
361
-     */
362
-    public function setMaxRotation($maxRotation)
363
-    {
364
-        $this->maxRotation = intval($maxRotation);
365
-
366
-        return $this;
367
-    }
368
-
369
-    /**
370
-     * @return int
371
-     */
372
-    public function getMinRotation()
373
-    {
374
-        return $this->minRotation;
375
-    }
376
-
377
-    /**
378
-     * @param int $minRotation
379
-     *
380
-     * @return $this
381
-     */
382
-    public function setMinRotation($minRotation)
383
-    {
384
-        $this->minRotation = intval($minRotation);
385
-
386
-        return $this;
387
-    }
388
-
389
-    /**
390
-     * @return bool
391
-     */
392
-    public function isMirror()
393
-    {
394
-        return $this->mirror;
395
-    }
396
-
397
-    /**
398
-     * @param bool $mirror
399
-     *
400
-     * @return $this
401
-     */
402
-    public function setMirror($mirror)
403
-    {
404
-        $this->mirror = boolval($mirror);
405
-
406
-        return $this;
407
-    }
408
-
409
-    /**
410
-     * @return int
411
-     */
412
-    public function getPadding()
413
-    {
414
-        return $this->padding;
415
-    }
416
-
417
-    /**
418
-     * @param int $padding
419
-     *
420
-     * @return $this
421
-     */
422
-    public function setPadding($padding)
423
-    {
424
-        $this->padding = intval($padding);
425
-
426
-        return $this;
427
-    }
428
-
429
-    /**
430
-     * @return bool
431
-     */
432
-    public function isReverse()
433
-    {
434
-        return $this->reverse;
435
-    }
436
-
437
-    /**
438
-     * @param bool $reverse
439
-     *
440
-     * @return $this
441
-     */
442
-    public function setReverse($reverse)
443
-    {
444
-        $this->reverse = boolval($reverse);
445
-
446
-        return $this;
447
-    }
448
-
449
-    /**
450
-     * @return int
451
-     */
452
-    public function getMax()
453
-    {
454
-        return $this->max;
455
-    }
456
-
457
-    /**
458
-     * @param int $max
459
-     *
460
-     * @return $this
461
-     */
462
-    public function setMax($max)
463
-    {
464
-        $this->max = intval($max);
465
-
466
-        return $this;
467
-    }
468
-
469
-    /**
470
-     * @return array
471
-     */
472
-    public function jsonSerialize()
473
-    {
474
-        return $this->getArrayCopy();
475
-    }
17
+	use ArraySerializable;
18
+
19
+	/**
20
+	 * @var float
21
+	 */
22
+	private $suggestedMin;
23
+
24
+	/**
25
+	 * @var bool
26
+	 */
27
+	private $beginAtZero;
28
+
29
+	/**
30
+	 * @var float
31
+	 */
32
+	private $stepSize;
33
+
34
+	/**
35
+	 * @var bool
36
+	 */
37
+	private $autoSkip;
38
+
39
+	/**
40
+	 * @var int
41
+	 */
42
+	private $autoSkipPadding;
43
+
44
+	/**
45
+	 * @var Expr
46
+	 */
47
+	private $callback;
48
+
49
+	/**
50
+	 * @var bool
51
+	 */
52
+	private $display;
53
+
54
+	/**
55
+	 * @var string
56
+	 */
57
+	private $fontColor;
58
+
59
+	/**
60
+	 * @var string
61
+	 */
62
+	private $fontFamily;
63
+
64
+	/**
65
+	 * @var int
66
+	 */
67
+	private $fontSize;
68
+
69
+	/**
70
+	 * @var string
71
+	 */
72
+	private $fontStyle;
73
+
74
+	/**
75
+	 * @var int
76
+	 */
77
+	private $labelOffset;
78
+
79
+	/**
80
+	 * @var int
81
+	 */
82
+	private $maxRotation;
83
+
84
+	/**
85
+	 * @var int
86
+	 */
87
+	private $minRotation;
88
+
89
+	/**
90
+	 * @var bool
91
+	 */
92
+	private $mirror;
93
+
94
+	/**
95
+	 * @var int
96
+	 */
97
+	private $padding;
98
+
99
+	/**
100
+	 * @var bool
101
+	 */
102
+	private $reverse;
103
+
104
+	/**
105
+	 * @var int
106
+	 */
107
+	private $max;
108
+
109
+	/**
110
+	 * @return float
111
+	 */
112
+	public function getSuggestedMin()
113
+	{
114
+		return $this->suggestedMin;
115
+	}
116
+
117
+	/**
118
+	 * @param float $suggestedMin
119
+	 *
120
+	 * @return $this
121
+	 */
122
+	public function setSuggestedMin($suggestedMin)
123
+	{
124
+		$this->suggestedMin = floatval($suggestedMin);
125
+
126
+		return $this;
127
+	}
128
+
129
+	/**
130
+	 * @return bool
131
+	 */
132
+	public function isBeginAtZero()
133
+	{
134
+		return $this->beginAtZero;
135
+	}
136
+
137
+	/**
138
+	 * @param bool $beginAtZero
139
+	 *
140
+	 * @return $this
141
+	 */
142
+	public function setBeginAtZero($beginAtZero)
143
+	{
144
+		$this->beginAtZero = boolval($beginAtZero);
145
+
146
+		return $this;
147
+	}
148
+
149
+	/**
150
+	 * @return float
151
+	 */
152
+	public function getStepSize()
153
+	{
154
+		return $this->stepSize;
155
+	}
156
+
157
+	/**
158
+	 * @param float $stepSize
159
+	 *
160
+	 * @return $this
161
+	 */
162
+	public function setStepSize($stepSize)
163
+	{
164
+		$this->stepSize = floatval($stepSize);
165
+
166
+		return $this;
167
+	}
168
+
169
+	/**
170
+	 * @return bool
171
+	 */
172
+	public function isAutoSkip()
173
+	{
174
+		return $this->autoSkip;
175
+	}
176
+
177
+	/**
178
+	 * @param bool $autoSkip
179
+	 *
180
+	 * @return $this
181
+	 */
182
+	public function setAutoSkip($autoSkip)
183
+	{
184
+		$this->autoSkip = boolval($autoSkip);
185
+
186
+		return $this;
187
+	}
188
+
189
+	/**
190
+	 * @return int
191
+	 */
192
+	public function getAutoSkipPadding()
193
+	{
194
+		return $this->autoSkipPadding;
195
+	}
196
+
197
+	/**
198
+	 * @param int $autoSkipPadding
199
+	 *
200
+	 * @return $this
201
+	 */
202
+	public function setAutoSkipPadding($autoSkipPadding)
203
+	{
204
+		$this->autoSkipPadding = intval($autoSkipPadding);
205
+
206
+		return $this;
207
+	}
208
+
209
+	/**
210
+	 * @return Expr
211
+	 */
212
+	public function getCallback()
213
+	{
214
+		return $this->callback;
215
+	}
216
+
217
+	/**
218
+	 * @param string $callback
219
+	 *
220
+	 * @return $this
221
+	 */
222
+	public function setCallback($callback)
223
+	{
224
+		$this->callback = new Expr(strval($callback));
225
+
226
+		return $this;
227
+	}
228
+
229
+	/**
230
+	 * @return bool
231
+	 */
232
+	public function isDisplay()
233
+	{
234
+		return $this->display;
235
+	}
236
+
237
+	/**
238
+	 * @param bool $display
239
+	 *
240
+	 * @return $this
241
+	 */
242
+	public function setDisplay($display)
243
+	{
244
+		$this->display = boolval($display);
245
+
246
+		return $this;
247
+	}
248
+
249
+	/**
250
+	 * @return string
251
+	 */
252
+	public function getFontColor()
253
+	{
254
+		return $this->fontColor;
255
+	}
256
+
257
+	/**
258
+	 * @param string $fontColor
259
+	 *
260
+	 * @return $this
261
+	 */
262
+	public function setFontColor($fontColor)
263
+	{
264
+		$this->fontColor = strval($fontColor);
265
+
266
+		return $this;
267
+	}
268
+
269
+	/**
270
+	 * @return string
271
+	 */
272
+	public function getFontFamily()
273
+	{
274
+		return $this->fontFamily;
275
+	}
276
+
277
+	/**
278
+	 * @param string $fontFamily
279
+	 *
280
+	 * @return $this
281
+	 */
282
+	public function setFontFamily($fontFamily)
283
+	{
284
+		$this->fontFamily = strval($fontFamily);
285
+
286
+		return $this;
287
+	}
288
+
289
+	/**
290
+	 * @return int
291
+	 */
292
+	public function getFontSize()
293
+	{
294
+		return $this->fontSize;
295
+	}
296
+
297
+	/**
298
+	 * @param int $fontSize
299
+	 *
300
+	 * @return $this
301
+	 */
302
+	public function setFontSize($fontSize)
303
+	{
304
+		$this->fontSize = intval($fontSize);
305
+
306
+		return $this;
307
+	}
308
+
309
+	/**
310
+	 * @return string
311
+	 */
312
+	public function getFontStyle()
313
+	{
314
+		return $this->fontStyle;
315
+	}
316
+
317
+	/**
318
+	 * @param string $fontStyle
319
+	 *
320
+	 * @return $this
321
+	 */
322
+	public function setFontStyle($fontStyle)
323
+	{
324
+		$this->fontStyle = strval($fontStyle);
325
+
326
+		return $this;
327
+	}
328
+
329
+	/**
330
+	 * @return int
331
+	 */
332
+	public function getLabelOffset()
333
+	{
334
+		return $this->labelOffset;
335
+	}
336
+
337
+	/**
338
+	 * @param int $labelOffset
339
+	 *
340
+	 * @return $this
341
+	 */
342
+	public function setLabelOffset($labelOffset)
343
+	{
344
+		$this->labelOffset = intval($labelOffset);
345
+
346
+		return $this;
347
+	}
348
+
349
+	/**
350
+	 * @return int
351
+	 */
352
+	public function getMaxRotation()
353
+	{
354
+		return $this->maxRotation;
355
+	}
356
+
357
+	/**
358
+	 * @param int $maxRotation
359
+	 *
360
+	 * @return $this
361
+	 */
362
+	public function setMaxRotation($maxRotation)
363
+	{
364
+		$this->maxRotation = intval($maxRotation);
365
+
366
+		return $this;
367
+	}
368
+
369
+	/**
370
+	 * @return int
371
+	 */
372
+	public function getMinRotation()
373
+	{
374
+		return $this->minRotation;
375
+	}
376
+
377
+	/**
378
+	 * @param int $minRotation
379
+	 *
380
+	 * @return $this
381
+	 */
382
+	public function setMinRotation($minRotation)
383
+	{
384
+		$this->minRotation = intval($minRotation);
385
+
386
+		return $this;
387
+	}
388
+
389
+	/**
390
+	 * @return bool
391
+	 */
392
+	public function isMirror()
393
+	{
394
+		return $this->mirror;
395
+	}
396
+
397
+	/**
398
+	 * @param bool $mirror
399
+	 *
400
+	 * @return $this
401
+	 */
402
+	public function setMirror($mirror)
403
+	{
404
+		$this->mirror = boolval($mirror);
405
+
406
+		return $this;
407
+	}
408
+
409
+	/**
410
+	 * @return int
411
+	 */
412
+	public function getPadding()
413
+	{
414
+		return $this->padding;
415
+	}
416
+
417
+	/**
418
+	 * @param int $padding
419
+	 *
420
+	 * @return $this
421
+	 */
422
+	public function setPadding($padding)
423
+	{
424
+		$this->padding = intval($padding);
425
+
426
+		return $this;
427
+	}
428
+
429
+	/**
430
+	 * @return bool
431
+	 */
432
+	public function isReverse()
433
+	{
434
+		return $this->reverse;
435
+	}
436
+
437
+	/**
438
+	 * @param bool $reverse
439
+	 *
440
+	 * @return $this
441
+	 */
442
+	public function setReverse($reverse)
443
+	{
444
+		$this->reverse = boolval($reverse);
445
+
446
+		return $this;
447
+	}
448
+
449
+	/**
450
+	 * @return int
451
+	 */
452
+	public function getMax()
453
+	{
454
+		return $this->max;
455
+	}
456
+
457
+	/**
458
+	 * @param int $max
459
+	 *
460
+	 * @return $this
461
+	 */
462
+	public function setMax($max)
463
+	{
464
+		$this->max = intval($max);
465
+
466
+		return $this;
467
+	}
468
+
469
+	/**
470
+	 * @return array
471
+	 */
472
+	public function jsonSerialize()
473
+	{
474
+		return $this->getArrayCopy();
475
+	}
476 476
 }
Please login to merge, or discard this patch.
src/Options/Scales/XAxis.php 1 patch
Indentation   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -11,61 +11,61 @@
 block discarded – undo
11 11
  */
12 12
 class XAxis extends Scale
13 13
 {
14
-    /**
15
-     * @var float
16
-     */
17
-    private $categoryPercentage;
14
+	/**
15
+	 * @var float
16
+	 */
17
+	private $categoryPercentage;
18 18
 
19
-    /**
20
-     * @var float
21
-     */
22
-    private $barPercentage;
19
+	/**
20
+	 * @var float
21
+	 */
22
+	private $barPercentage;
23 23
 
24
-    /**
25
-     * @return float
26
-     */
27
-    public function getCategoryPercentage()
28
-    {
29
-        return $this->categoryPercentage;
30
-    }
24
+	/**
25
+	 * @return float
26
+	 */
27
+	public function getCategoryPercentage()
28
+	{
29
+		return $this->categoryPercentage;
30
+	}
31 31
 
32
-    /**
33
-     * @param float $categoryPercentage
34
-     *
35
-     * @return $this
36
-     */
37
-    public function setCategoryPercentage($categoryPercentage)
38
-    {
39
-        $this->categoryPercentage = floatval($categoryPercentage);
32
+	/**
33
+	 * @param float $categoryPercentage
34
+	 *
35
+	 * @return $this
36
+	 */
37
+	public function setCategoryPercentage($categoryPercentage)
38
+	{
39
+		$this->categoryPercentage = floatval($categoryPercentage);
40 40
 
41
-        return $this;
42
-    }
41
+		return $this;
42
+	}
43 43
 
44
-    /**
45
-     * @return float
46
-     */
47
-    public function getBarPercentage()
48
-    {
49
-        return $this->barPercentage;
50
-    }
44
+	/**
45
+	 * @return float
46
+	 */
47
+	public function getBarPercentage()
48
+	{
49
+		return $this->barPercentage;
50
+	}
51 51
 
52
-    /**
53
-     * @param float $barPercentage
54
-     *
55
-     * @return $this
56
-     */
57
-    public function setBarPercentage($barPercentage)
58
-    {
59
-        $this->barPercentage = floatval($barPercentage);
52
+	/**
53
+	 * @param float $barPercentage
54
+	 *
55
+	 * @return $this
56
+	 */
57
+	public function setBarPercentage($barPercentage)
58
+	{
59
+		$this->barPercentage = floatval($barPercentage);
60 60
 
61
-        return $this;
62
-    }
61
+		return $this;
62
+	}
63 63
 
64
-    /**
65
-     * @return array
66
-     */
67
-    public function jsonSerialize()
68
-    {
69
-        return $this->getArrayCopy();
70
-    }
64
+	/**
65
+	 * @return array
66
+	 */
67
+	public function jsonSerialize()
68
+	{
69
+		return $this->getArrayCopy();
70
+	}
71 71
 }
Please login to merge, or discard this patch.
src/Options/Scales/ScaleLabel.php 1 patch
Indentation   +159 added lines, -159 removed lines patch added patch discarded remove patch
@@ -13,163 +13,163 @@
 block discarded – undo
13 13
  */
14 14
 class ScaleLabel implements ArraySerializableInterface, JsonSerializable
15 15
 {
16
-    use ArraySerializable;
17
-
18
-    /**
19
-     * @var bool
20
-     */
21
-    private $display;
22
-
23
-    /**
24
-     * @var string
25
-     */
26
-    private $labelString;
27
-
28
-    /**
29
-     * @var string
30
-     */
31
-    private $fontColor;
32
-
33
-    /**
34
-     * @var string
35
-     */
36
-    private $fontFamily;
37
-
38
-    /**
39
-     * @var int
40
-     */
41
-    private $fontSize;
42
-
43
-    /**
44
-     * @var string
45
-     */
46
-    private $fontStyle;
47
-
48
-    /**
49
-     * @return bool
50
-     */
51
-    public function isDisplay()
52
-    {
53
-        return $this->display;
54
-    }
55
-
56
-    /**
57
-     * @param bool $display
58
-     *
59
-     * @return $this
60
-     */
61
-    public function setDisplay($display)
62
-    {
63
-        $this->display = ! ! $display;
64
-
65
-        return $this;
66
-    }
67
-
68
-    /**
69
-     * @return string
70
-     */
71
-    public function getLabelString()
72
-    {
73
-        return $this->labelString;
74
-    }
75
-
76
-    /**
77
-     * @param string $labelString
78
-     *
79
-     * @return $this
80
-     */
81
-    public function setLabelString($labelString)
82
-    {
83
-        $this->labelString = strval($labelString);
84
-
85
-        return $this;
86
-    }
87
-
88
-    /**
89
-     * @return string
90
-     */
91
-    public function getFontColor()
92
-    {
93
-        return $this->fontColor;
94
-    }
95
-
96
-    /**
97
-     * @param string $fontColor
98
-     *
99
-     * @return $this
100
-     */
101
-    public function setFontColor($fontColor)
102
-    {
103
-        $this->fontColor = strval($fontColor);
104
-
105
-        return $this;
106
-    }
107
-
108
-    /**
109
-     * @return string
110
-     */
111
-    public function getFontFamily()
112
-    {
113
-        return $this->fontFamily;
114
-    }
115
-
116
-    /**
117
-     * @param string $fontFamily
118
-     *
119
-     * @return $this
120
-     */
121
-    public function setFontFamily($fontFamily)
122
-    {
123
-        $this->fontFamily = strval($fontFamily);
124
-
125
-        return $this;
126
-    }
127
-
128
-    /**
129
-     * @return int
130
-     */
131
-    public function getFontSize()
132
-    {
133
-        return $this->fontSize;
134
-    }
135
-
136
-    /**
137
-     * @param int $fontSize
138
-     *
139
-     * @return $this
140
-     */
141
-    public function setFontSize($fontSize)
142
-    {
143
-        $this->fontSize = intval($fontSize);
144
-
145
-        return $this;
146
-    }
147
-
148
-    /**
149
-     * @return string
150
-     */
151
-    public function getFontStyle()
152
-    {
153
-        return $this->fontStyle;
154
-    }
155
-
156
-    /**
157
-     * @param string $fontStyle
158
-     *
159
-     * @return $this
160
-     */
161
-    public function setFontStyle($fontStyle)
162
-    {
163
-        $this->fontStyle = strval($fontStyle);
164
-
165
-        return $this;
166
-    }
167
-
168
-    /**
169
-     * @return array
170
-     */
171
-    public function jsonSerialize()
172
-    {
173
-        return $this->getArrayCopy();
174
-    }
16
+	use ArraySerializable;
17
+
18
+	/**
19
+	 * @var bool
20
+	 */
21
+	private $display;
22
+
23
+	/**
24
+	 * @var string
25
+	 */
26
+	private $labelString;
27
+
28
+	/**
29
+	 * @var string
30
+	 */
31
+	private $fontColor;
32
+
33
+	/**
34
+	 * @var string
35
+	 */
36
+	private $fontFamily;
37
+
38
+	/**
39
+	 * @var int
40
+	 */
41
+	private $fontSize;
42
+
43
+	/**
44
+	 * @var string
45
+	 */
46
+	private $fontStyle;
47
+
48
+	/**
49
+	 * @return bool
50
+	 */
51
+	public function isDisplay()
52
+	{
53
+		return $this->display;
54
+	}
55
+
56
+	/**
57
+	 * @param bool $display
58
+	 *
59
+	 * @return $this
60
+	 */
61
+	public function setDisplay($display)
62
+	{
63
+		$this->display = ! ! $display;
64
+
65
+		return $this;
66
+	}
67
+
68
+	/**
69
+	 * @return string
70
+	 */
71
+	public function getLabelString()
72
+	{
73
+		return $this->labelString;
74
+	}
75
+
76
+	/**
77
+	 * @param string $labelString
78
+	 *
79
+	 * @return $this
80
+	 */
81
+	public function setLabelString($labelString)
82
+	{
83
+		$this->labelString = strval($labelString);
84
+
85
+		return $this;
86
+	}
87
+
88
+	/**
89
+	 * @return string
90
+	 */
91
+	public function getFontColor()
92
+	{
93
+		return $this->fontColor;
94
+	}
95
+
96
+	/**
97
+	 * @param string $fontColor
98
+	 *
99
+	 * @return $this
100
+	 */
101
+	public function setFontColor($fontColor)
102
+	{
103
+		$this->fontColor = strval($fontColor);
104
+
105
+		return $this;
106
+	}
107
+
108
+	/**
109
+	 * @return string
110
+	 */
111
+	public function getFontFamily()
112
+	{
113
+		return $this->fontFamily;
114
+	}
115
+
116
+	/**
117
+	 * @param string $fontFamily
118
+	 *
119
+	 * @return $this
120
+	 */
121
+	public function setFontFamily($fontFamily)
122
+	{
123
+		$this->fontFamily = strval($fontFamily);
124
+
125
+		return $this;
126
+	}
127
+
128
+	/**
129
+	 * @return int
130
+	 */
131
+	public function getFontSize()
132
+	{
133
+		return $this->fontSize;
134
+	}
135
+
136
+	/**
137
+	 * @param int $fontSize
138
+	 *
139
+	 * @return $this
140
+	 */
141
+	public function setFontSize($fontSize)
142
+	{
143
+		$this->fontSize = intval($fontSize);
144
+
145
+		return $this;
146
+	}
147
+
148
+	/**
149
+	 * @return string
150
+	 */
151
+	public function getFontStyle()
152
+	{
153
+		return $this->fontStyle;
154
+	}
155
+
156
+	/**
157
+	 * @param string $fontStyle
158
+	 *
159
+	 * @return $this
160
+	 */
161
+	public function setFontStyle($fontStyle)
162
+	{
163
+		$this->fontStyle = strval($fontStyle);
164
+
165
+		return $this;
166
+	}
167
+
168
+	/**
169
+	 * @return array
170
+	 */
171
+	public function jsonSerialize()
172
+	{
173
+		return $this->getArrayCopy();
174
+	}
175 175
 }
Please login to merge, or discard this patch.
src/Options/Scales/YAxisCollection.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -13,25 +13,25 @@
 block discarded – undo
13 13
  */
14 14
 class YAxisCollection extends ArrayAccess implements ArraySerializableInterface, JsonSerializable
15 15
 {
16
-    /**
17
-     * @return array
18
-     */
19
-    public function getArrayCopy()
20
-    {
21
-        $rows = [];
22
-        foreach ($this->data as $row) {
23
-            /** @var YAxis $row */
24
-            $rows[] = $row->getArrayCopy();
25
-        }
16
+	/**
17
+	 * @return array
18
+	 */
19
+	public function getArrayCopy()
20
+	{
21
+		$rows = [];
22
+		foreach ($this->data as $row) {
23
+			/** @var YAxis $row */
24
+			$rows[] = $row->getArrayCopy();
25
+		}
26 26
 
27
-        return $rows;
28
-    }
27
+		return $rows;
28
+	}
29 29
 
30
-    /**
31
-     * @return array
32
-     */
33
-    public function jsonSerialize()
34
-    {
35
-        return $this->getArrayCopy();
36
-    }
30
+	/**
31
+	 * @return array
32
+	 */
33
+	public function jsonSerialize()
34
+	{
35
+		return $this->getArrayCopy();
36
+	}
37 37
 }
Please login to merge, or discard this patch.
src/Options/Scales/XAxisCollection.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -13,25 +13,25 @@
 block discarded – undo
13 13
  */
14 14
 class XAxisCollection extends ArrayAccess implements ArraySerializableInterface, JsonSerializable
15 15
 {
16
-    /**
17
-     * @return array
18
-     */
19
-    public function getArrayCopy()
20
-    {
21
-        $rows = [];
22
-        foreach ($this->data as $row) {
23
-            /** @var XAxis $row */
24
-            $rows[] = $row->getArrayCopy();
25
-        }
16
+	/**
17
+	 * @return array
18
+	 */
19
+	public function getArrayCopy()
20
+	{
21
+		$rows = [];
22
+		foreach ($this->data as $row) {
23
+			/** @var XAxis $row */
24
+			$rows[] = $row->getArrayCopy();
25
+		}
26 26
 
27
-        return $rows;
28
-    }
27
+		return $rows;
28
+	}
29 29
 
30
-    /**
31
-     * @return array
32
-     */
33
-    public function jsonSerialize()
34
-    {
35
-        return $this->getArrayCopy();
36
-    }
30
+	/**
31
+	 * @return array
32
+	 */
33
+	public function jsonSerialize()
34
+	{
35
+		return $this->getArrayCopy();
36
+	}
37 37
 }
Please login to merge, or discard this patch.