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.
Completed
Push — master ( d0a685...85b07f )
by halfpastfour
02:09
created
src/DataSet/RadarDataSet.php 1 patch
Indentation   +399 added lines, -399 removed lines patch added patch discarded remove patch
@@ -10,403 +10,403 @@
 block discarded – undo
10 10
  */
11 11
 class RadarDataSet extends DataSet
12 12
 {
13
-    /**
14
-     * @var bool
15
-     */
16
-    protected $fill;
17
-
18
-    /**
19
-     * @var float
20
-     */
21
-    protected $lineTension;
22
-
23
-    /**
24
-     * @var string
25
-     */
26
-    protected $borderCapStyle;
27
-
28
-    /**
29
-     * @var int[]
30
-     */
31
-    protected $borderDash;
32
-
33
-    /**
34
-     * @var int
35
-     */
36
-    protected $borderDashOffset;
37
-
38
-    /**
39
-     * @var string
40
-     */
41
-    protected $borderJoinStyle;
42
-
43
-    /**
44
-     * @var string|string[]
45
-     */
46
-    protected $pointBorderColor;
47
-
48
-    /**
49
-     * @var string|string[]
50
-     */
51
-    protected $pointBackgroundColor;
52
-
53
-    /**
54
-     * @var int|int[]
55
-     */
56
-    protected $pointBorderWidth;
57
-
58
-    /**
59
-     * @var int|int[]
60
-     */
61
-    protected $pointRadius;
62
-
63
-    /**
64
-     * @var int|int[]
65
-     */
66
-    protected $pointHoverRadius;
67
-
68
-    /**
69
-     * @var int|int[]
70
-     */
71
-    protected $hitRadius;
72
-
73
-    /**
74
-     * @var string|string[]
75
-     */
76
-    protected $pointHoverBackgroundColor;
77
-
78
-    /**
79
-     * @var string|string[]
80
-     */
81
-    protected $pointHoverBorderColor;
82
-
83
-    /**
84
-     * @var int|int[]
85
-     */
86
-    protected $pointHoverBorderWidth;
87
-
88
-    /**
89
-     * @var string|string[]
90
-     */
91
-    protected $pointStyle;
92
-
93
-    /**
94
-     * @return boolean
95
-     */
96
-    public function isFill()
97
-    {
98
-        return $this->fill;
99
-    }
100
-
101
-    /**
102
-     * @param boolean $fill
103
-     *
104
-     * @return $this
105
-     */
106
-    public function setFill($fill)
107
-    {
108
-        $this->fill = $fill;
109
-
110
-        return $this;
111
-    }
112
-
113
-    /**
114
-     * @return int
115
-     */
116
-    public function getLineTension()
117
-    {
118
-        return $this->lineTension;
119
-    }
120
-
121
-    /**
122
-     * @param float $lineTension
123
-     *
124
-     * @return $this
125
-     */
126
-    public function setLineTension($lineTension)
127
-    {
128
-        $this->lineTension = $lineTension;
129
-
130
-        return $this;
131
-    }
132
-
133
-    /**
134
-     * @return string
135
-     */
136
-    public function getBorderCapStyle()
137
-    {
138
-        return $this->borderCapStyle;
139
-    }
140
-
141
-    /**
142
-     * @param string $borderCapStyle
143
-     *
144
-     * @return $this
145
-     */
146
-    public function setBorderCapStyle($borderCapStyle)
147
-    {
148
-        $this->borderCapStyle = $borderCapStyle;
149
-
150
-        return $this;
151
-    }
152
-
153
-    /**
154
-     * @return int[]
155
-     */
156
-    public function getBorderDash()
157
-    {
158
-        return $this->borderDash;
159
-    }
160
-
161
-    /**
162
-     * @param int[] $borderDash
163
-     *
164
-     * @return $this
165
-     */
166
-    public function setBorderDash($borderDash)
167
-    {
168
-        $this->borderDash = $borderDash;
169
-
170
-        return $this;
171
-    }
172
-
173
-    /**
174
-     * @return int
175
-     */
176
-    public function getBorderDashOffset()
177
-    {
178
-        return $this->borderDashOffset;
179
-    }
180
-
181
-    /**
182
-     * @param int $borderDashOffset
183
-     *
184
-     * @return $this
185
-     */
186
-    public function setBorderDashOffset($borderDashOffset)
187
-    {
188
-        $this->borderDashOffset = $borderDashOffset;
189
-
190
-        return $this;
191
-    }
192
-
193
-    /**
194
-     * @return string
195
-     */
196
-    public function getBorderJoinStyle()
197
-    {
198
-        return $this->borderJoinStyle;
199
-    }
200
-
201
-    /**
202
-     * @param string $borderJoinStyle
203
-     *
204
-     * @return $this
205
-     */
206
-    public function setBorderJoinStyle($borderJoinStyle)
207
-    {
208
-        $this->borderJoinStyle = $borderJoinStyle;
209
-
210
-        return $this;
211
-    }
212
-
213
-    /**
214
-     * @return string|string[]
215
-     */
216
-    public function getPointBorderColor()
217
-    {
218
-        return $this->pointBorderColor;
219
-    }
220
-
221
-    /**
222
-     * @param string|string[] $pointBorderColor
223
-     *
224
-     * @return $this
225
-     */
226
-    public function setPointBorderColor($pointBorderColor)
227
-    {
228
-        $this->pointBorderColor = $pointBorderColor;
229
-
230
-        return $this;
231
-    }
232
-
233
-    /**
234
-     * @return string|string[]
235
-     */
236
-    public function getPointBackgroundColor()
237
-    {
238
-        return $this->pointBackgroundColor;
239
-    }
240
-
241
-    /**
242
-     * @param string|string[] $pointBackgroundColor
243
-     *
244
-     * @return $this
245
-     */
246
-    public function setPointBackgroundColor($pointBackgroundColor)
247
-    {
248
-        $this->pointBackgroundColor = $pointBackgroundColor;
249
-
250
-        return $this;
251
-    }
252
-
253
-    /**
254
-     * @return int|int[]
255
-     */
256
-    public function getPointBorderWidth()
257
-    {
258
-        return $this->pointBorderWidth;
259
-    }
260
-
261
-    /**
262
-     * @param int|int[] $pointBorderWidth
263
-     *
264
-     * @return $this
265
-     */
266
-    public function setPointBorderWidth($pointBorderWidth)
267
-    {
268
-        $this->pointBorderWidth = $pointBorderWidth;
269
-
270
-        return $this;
271
-    }
272
-
273
-    /**
274
-     * @return int|int[]
275
-     */
276
-    public function getPointRadius()
277
-    {
278
-        return $this->pointRadius;
279
-    }
280
-
281
-    /**
282
-     * @param int|int[] $pointRadius
283
-     *
284
-     * @return $this
285
-     */
286
-    public function setPointRadius($pointRadius)
287
-    {
288
-        $this->pointRadius = $pointRadius;
289
-
290
-        return $this;
291
-    }
292
-
293
-    /**
294
-     * @return int|int[]
295
-     */
296
-    public function getPointHoverRadius()
297
-    {
298
-        return $this->pointHoverRadius;
299
-    }
300
-
301
-    /**
302
-     * @param int|int[] $pointHoverRadius
303
-     *
304
-     * @return $this
305
-     */
306
-    public function setPointHoverRadius($pointHoverRadius)
307
-    {
308
-        $this->pointHoverRadius = $pointHoverRadius;
309
-
310
-        return $this;
311
-    }
312
-
313
-    /**
314
-     * @return int|int[]
315
-     */
316
-    public function getHitRadius()
317
-    {
318
-        return $this->hitRadius;
319
-    }
320
-
321
-    /**
322
-     * @param int|int[] $hitRadius
323
-     *
324
-     * @return $this
325
-     */
326
-    public function setHitRadius($hitRadius)
327
-    {
328
-        $this->hitRadius = $hitRadius;
329
-
330
-        return $this;
331
-    }
332
-
333
-    /**
334
-     * @return string|string[]
335
-     */
336
-    public function getPointHoverBackgroundColor()
337
-    {
338
-        return $this->pointHoverBackgroundColor;
339
-    }
340
-
341
-    /**
342
-     * @param string|string[] $pointHoverBackgroundColor
343
-     *
344
-     * @return $this
345
-     */
346
-    public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
347
-    {
348
-        $this->pointHoverBackgroundColor = $pointHoverBackgroundColor;
349
-
350
-        return $this;
351
-    }
352
-
353
-    /**
354
-     * @return string|string[]
355
-     */
356
-    public function getPointHoverBorderColor()
357
-    {
358
-        return $this->pointHoverBorderColor;
359
-    }
360
-
361
-    /**
362
-     * @param string|string[] $pointHoverBorderColor
363
-     *
364
-     * @return $this
365
-     */
366
-    public function setPointHoverBorderColor($pointHoverBorderColor)
367
-    {
368
-        $this->pointHoverBorderColor = $pointHoverBorderColor;
369
-
370
-        return $this;
371
-    }
372
-
373
-    /**
374
-     * @return int|int[]
375
-     */
376
-    public function getPointHoverBorderWidth()
377
-    {
378
-        return $this->pointHoverBorderWidth;
379
-    }
380
-
381
-    /**
382
-     * @param int|int[] $pointHoverBorderWidth
383
-     *
384
-     * @return $this
385
-     */
386
-    public function setPointHoverBorderWidth($pointHoverBorderWidth)
387
-    {
388
-        $this->pointHoverBorderWidth = $pointHoverBorderWidth;
389
-
390
-        return $this;
391
-    }
392
-
393
-    /**
394
-     * @return string|string[]
395
-     */
396
-    public function getPointStyle()
397
-    {
398
-        return $this->pointStyle;
399
-    }
400
-
401
-    /**
402
-     * @param string|string[] $pointStyle
403
-     *
404
-     * @return $this
405
-     */
406
-    public function setPointStyle($pointStyle)
407
-    {
408
-        $this->pointStyle = $pointStyle;
409
-
410
-        return $this;
411
-    }
13
+	/**
14
+	 * @var bool
15
+	 */
16
+	protected $fill;
17
+
18
+	/**
19
+	 * @var float
20
+	 */
21
+	protected $lineTension;
22
+
23
+	/**
24
+	 * @var string
25
+	 */
26
+	protected $borderCapStyle;
27
+
28
+	/**
29
+	 * @var int[]
30
+	 */
31
+	protected $borderDash;
32
+
33
+	/**
34
+	 * @var int
35
+	 */
36
+	protected $borderDashOffset;
37
+
38
+	/**
39
+	 * @var string
40
+	 */
41
+	protected $borderJoinStyle;
42
+
43
+	/**
44
+	 * @var string|string[]
45
+	 */
46
+	protected $pointBorderColor;
47
+
48
+	/**
49
+	 * @var string|string[]
50
+	 */
51
+	protected $pointBackgroundColor;
52
+
53
+	/**
54
+	 * @var int|int[]
55
+	 */
56
+	protected $pointBorderWidth;
57
+
58
+	/**
59
+	 * @var int|int[]
60
+	 */
61
+	protected $pointRadius;
62
+
63
+	/**
64
+	 * @var int|int[]
65
+	 */
66
+	protected $pointHoverRadius;
67
+
68
+	/**
69
+	 * @var int|int[]
70
+	 */
71
+	protected $hitRadius;
72
+
73
+	/**
74
+	 * @var string|string[]
75
+	 */
76
+	protected $pointHoverBackgroundColor;
77
+
78
+	/**
79
+	 * @var string|string[]
80
+	 */
81
+	protected $pointHoverBorderColor;
82
+
83
+	/**
84
+	 * @var int|int[]
85
+	 */
86
+	protected $pointHoverBorderWidth;
87
+
88
+	/**
89
+	 * @var string|string[]
90
+	 */
91
+	protected $pointStyle;
92
+
93
+	/**
94
+	 * @return boolean
95
+	 */
96
+	public function isFill()
97
+	{
98
+		return $this->fill;
99
+	}
100
+
101
+	/**
102
+	 * @param boolean $fill
103
+	 *
104
+	 * @return $this
105
+	 */
106
+	public function setFill($fill)
107
+	{
108
+		$this->fill = $fill;
109
+
110
+		return $this;
111
+	}
112
+
113
+	/**
114
+	 * @return int
115
+	 */
116
+	public function getLineTension()
117
+	{
118
+		return $this->lineTension;
119
+	}
120
+
121
+	/**
122
+	 * @param float $lineTension
123
+	 *
124
+	 * @return $this
125
+	 */
126
+	public function setLineTension($lineTension)
127
+	{
128
+		$this->lineTension = $lineTension;
129
+
130
+		return $this;
131
+	}
132
+
133
+	/**
134
+	 * @return string
135
+	 */
136
+	public function getBorderCapStyle()
137
+	{
138
+		return $this->borderCapStyle;
139
+	}
140
+
141
+	/**
142
+	 * @param string $borderCapStyle
143
+	 *
144
+	 * @return $this
145
+	 */
146
+	public function setBorderCapStyle($borderCapStyle)
147
+	{
148
+		$this->borderCapStyle = $borderCapStyle;
149
+
150
+		return $this;
151
+	}
152
+
153
+	/**
154
+	 * @return int[]
155
+	 */
156
+	public function getBorderDash()
157
+	{
158
+		return $this->borderDash;
159
+	}
160
+
161
+	/**
162
+	 * @param int[] $borderDash
163
+	 *
164
+	 * @return $this
165
+	 */
166
+	public function setBorderDash($borderDash)
167
+	{
168
+		$this->borderDash = $borderDash;
169
+
170
+		return $this;
171
+	}
172
+
173
+	/**
174
+	 * @return int
175
+	 */
176
+	public function getBorderDashOffset()
177
+	{
178
+		return $this->borderDashOffset;
179
+	}
180
+
181
+	/**
182
+	 * @param int $borderDashOffset
183
+	 *
184
+	 * @return $this
185
+	 */
186
+	public function setBorderDashOffset($borderDashOffset)
187
+	{
188
+		$this->borderDashOffset = $borderDashOffset;
189
+
190
+		return $this;
191
+	}
192
+
193
+	/**
194
+	 * @return string
195
+	 */
196
+	public function getBorderJoinStyle()
197
+	{
198
+		return $this->borderJoinStyle;
199
+	}
200
+
201
+	/**
202
+	 * @param string $borderJoinStyle
203
+	 *
204
+	 * @return $this
205
+	 */
206
+	public function setBorderJoinStyle($borderJoinStyle)
207
+	{
208
+		$this->borderJoinStyle = $borderJoinStyle;
209
+
210
+		return $this;
211
+	}
212
+
213
+	/**
214
+	 * @return string|string[]
215
+	 */
216
+	public function getPointBorderColor()
217
+	{
218
+		return $this->pointBorderColor;
219
+	}
220
+
221
+	/**
222
+	 * @param string|string[] $pointBorderColor
223
+	 *
224
+	 * @return $this
225
+	 */
226
+	public function setPointBorderColor($pointBorderColor)
227
+	{
228
+		$this->pointBorderColor = $pointBorderColor;
229
+
230
+		return $this;
231
+	}
232
+
233
+	/**
234
+	 * @return string|string[]
235
+	 */
236
+	public function getPointBackgroundColor()
237
+	{
238
+		return $this->pointBackgroundColor;
239
+	}
240
+
241
+	/**
242
+	 * @param string|string[] $pointBackgroundColor
243
+	 *
244
+	 * @return $this
245
+	 */
246
+	public function setPointBackgroundColor($pointBackgroundColor)
247
+	{
248
+		$this->pointBackgroundColor = $pointBackgroundColor;
249
+
250
+		return $this;
251
+	}
252
+
253
+	/**
254
+	 * @return int|int[]
255
+	 */
256
+	public function getPointBorderWidth()
257
+	{
258
+		return $this->pointBorderWidth;
259
+	}
260
+
261
+	/**
262
+	 * @param int|int[] $pointBorderWidth
263
+	 *
264
+	 * @return $this
265
+	 */
266
+	public function setPointBorderWidth($pointBorderWidth)
267
+	{
268
+		$this->pointBorderWidth = $pointBorderWidth;
269
+
270
+		return $this;
271
+	}
272
+
273
+	/**
274
+	 * @return int|int[]
275
+	 */
276
+	public function getPointRadius()
277
+	{
278
+		return $this->pointRadius;
279
+	}
280
+
281
+	/**
282
+	 * @param int|int[] $pointRadius
283
+	 *
284
+	 * @return $this
285
+	 */
286
+	public function setPointRadius($pointRadius)
287
+	{
288
+		$this->pointRadius = $pointRadius;
289
+
290
+		return $this;
291
+	}
292
+
293
+	/**
294
+	 * @return int|int[]
295
+	 */
296
+	public function getPointHoverRadius()
297
+	{
298
+		return $this->pointHoverRadius;
299
+	}
300
+
301
+	/**
302
+	 * @param int|int[] $pointHoverRadius
303
+	 *
304
+	 * @return $this
305
+	 */
306
+	public function setPointHoverRadius($pointHoverRadius)
307
+	{
308
+		$this->pointHoverRadius = $pointHoverRadius;
309
+
310
+		return $this;
311
+	}
312
+
313
+	/**
314
+	 * @return int|int[]
315
+	 */
316
+	public function getHitRadius()
317
+	{
318
+		return $this->hitRadius;
319
+	}
320
+
321
+	/**
322
+	 * @param int|int[] $hitRadius
323
+	 *
324
+	 * @return $this
325
+	 */
326
+	public function setHitRadius($hitRadius)
327
+	{
328
+		$this->hitRadius = $hitRadius;
329
+
330
+		return $this;
331
+	}
332
+
333
+	/**
334
+	 * @return string|string[]
335
+	 */
336
+	public function getPointHoverBackgroundColor()
337
+	{
338
+		return $this->pointHoverBackgroundColor;
339
+	}
340
+
341
+	/**
342
+	 * @param string|string[] $pointHoverBackgroundColor
343
+	 *
344
+	 * @return $this
345
+	 */
346
+	public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
347
+	{
348
+		$this->pointHoverBackgroundColor = $pointHoverBackgroundColor;
349
+
350
+		return $this;
351
+	}
352
+
353
+	/**
354
+	 * @return string|string[]
355
+	 */
356
+	public function getPointHoverBorderColor()
357
+	{
358
+		return $this->pointHoverBorderColor;
359
+	}
360
+
361
+	/**
362
+	 * @param string|string[] $pointHoverBorderColor
363
+	 *
364
+	 * @return $this
365
+	 */
366
+	public function setPointHoverBorderColor($pointHoverBorderColor)
367
+	{
368
+		$this->pointHoverBorderColor = $pointHoverBorderColor;
369
+
370
+		return $this;
371
+	}
372
+
373
+	/**
374
+	 * @return int|int[]
375
+	 */
376
+	public function getPointHoverBorderWidth()
377
+	{
378
+		return $this->pointHoverBorderWidth;
379
+	}
380
+
381
+	/**
382
+	 * @param int|int[] $pointHoverBorderWidth
383
+	 *
384
+	 * @return $this
385
+	 */
386
+	public function setPointHoverBorderWidth($pointHoverBorderWidth)
387
+	{
388
+		$this->pointHoverBorderWidth = $pointHoverBorderWidth;
389
+
390
+		return $this;
391
+	}
392
+
393
+	/**
394
+	 * @return string|string[]
395
+	 */
396
+	public function getPointStyle()
397
+	{
398
+		return $this->pointStyle;
399
+	}
400
+
401
+	/**
402
+	 * @param string|string[] $pointStyle
403
+	 *
404
+	 * @return $this
405
+	 */
406
+	public function setPointStyle($pointStyle)
407
+	{
408
+		$this->pointStyle = $pointStyle;
409
+
410
+		return $this;
411
+	}
412 412
 }
Please login to merge, or discard this patch.
src/DataSet/BubbleDataSet.php 1 patch
Indentation   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -11,53 +11,53 @@
 block discarded – undo
11 11
  */
12 12
 class BubbleDataSet extends DataSet
13 13
 {
14
-    /**
15
-     * @var string
16
-     */
17
-    protected $pointStyle;
18
-
19
-    /**
20
-     * @var int
21
-     */
22
-    protected $radius;
23
-
24
-    /**
25
-     * @return string
26
-     */
27
-    public function getPointStyle()
28
-    {
29
-        return $this->pointStyle;
30
-    }
31
-
32
-    /**
33
-     * @param string $pointStyle
34
-     *
35
-     * @return \Halfpastfour\PHPChartJS\DataSet\BubbleDataSet
36
-     */
37
-    public function setPointStyle($pointStyle)
38
-    {
39
-        $this->pointStyle = $pointStyle;
40
-
41
-        return $this;
42
-    }
43
-
44
-    /**
45
-     * @return int|null
46
-     */
47
-    public function getRadius()
48
-    {
49
-        return $this->radius;
50
-    }
51
-
52
-    /**
53
-     * @param int $radius
54
-     *
55
-     * @return \Halfpastfour\PHPChartJS\DataSet\BubbleDataSet
56
-     */
57
-    public function setRadius($radius)
58
-    {
59
-        $this->radius = $radius;
60
-
61
-        return $this;
62
-    }
14
+	/**
15
+	 * @var string
16
+	 */
17
+	protected $pointStyle;
18
+
19
+	/**
20
+	 * @var int
21
+	 */
22
+	protected $radius;
23
+
24
+	/**
25
+	 * @return string
26
+	 */
27
+	public function getPointStyle()
28
+	{
29
+		return $this->pointStyle;
30
+	}
31
+
32
+	/**
33
+	 * @param string $pointStyle
34
+	 *
35
+	 * @return \Halfpastfour\PHPChartJS\DataSet\BubbleDataSet
36
+	 */
37
+	public function setPointStyle($pointStyle)
38
+	{
39
+		$this->pointStyle = $pointStyle;
40
+
41
+		return $this;
42
+	}
43
+
44
+	/**
45
+	 * @return int|null
46
+	 */
47
+	public function getRadius()
48
+	{
49
+		return $this->radius;
50
+	}
51
+
52
+	/**
53
+	 * @param int $radius
54
+	 *
55
+	 * @return \Halfpastfour\PHPChartJS\DataSet\BubbleDataSet
56
+	 */
57
+	public function setRadius($radius)
58
+	{
59
+		$this->radius = $radius;
60
+
61
+		return $this;
62
+	}
63 63
 }
Please login to merge, or discard this patch.
src/DataSet/LineDataSet.php 1 patch
Indentation   +499 added lines, -499 removed lines patch added patch discarded remove patch
@@ -10,503 +10,503 @@
 block discarded – undo
10 10
  */
11 11
 class LineDataSet extends DataSet
12 12
 {
13
-    /**
14
-     * @var bool|string
15
-     */
16
-    protected $fill;
17
-
18
-    /**
19
-     * @var string
20
-     */
21
-    protected $cubicInterpolationMode;
22
-
23
-    /**
24
-     * @var int
25
-     */
26
-    protected $lineTension;
27
-
28
-    /**
29
-     * @var string
30
-     */
31
-    protected $borderCapStyle;
32
-
33
-    /**
34
-     * @var array
35
-     */
36
-    protected $borderDash;
37
-
38
-    /**
39
-     * @var float
40
-     */
41
-    protected $borderDashOffset;
42
-
43
-    /**
44
-     * @var string
45
-     */
46
-    protected $borderJoinStyle;
47
-
48
-    /**
49
-     * @var string|string[]
50
-     */
51
-    protected $pointBorderColor;
52
-
53
-    /**
54
-     * @var string|string[]
55
-     */
56
-    protected $pointBackgroundColor;
57
-
58
-    /**
59
-     * @var int|int[]
60
-     */
61
-    protected $pointBorderWidth;
62
-
63
-    /**
64
-     * @var int|int[]
65
-     */
66
-    protected $pointRadius;
67
-
68
-    /**
69
-     * @var int|int[]
70
-     */
71
-    protected $pointHoverRadius;
72
-
73
-    /**
74
-     * @var int|int[]
75
-     */
76
-    protected $pointHitRadius;
77
-
78
-    /**
79
-     * @var string|string[]
80
-     */
81
-    protected $pointHoverBackgroundColor;
82
-
83
-    /**
84
-     * @var string|string[]
85
-     */
86
-    protected $pointHoverBorderColor;
87
-
88
-    /**
89
-     * @var int|int[]
90
-     */
91
-    protected $pointHoverBorderWidth;
92
-
93
-    /**
94
-     * @var mixed
95
-     */
96
-    protected $pointStyle;
97
-
98
-    /**
99
-     * @var bool
100
-     */
101
-    protected $showLine;
102
-
103
-    /**
104
-     * @var bool
105
-     */
106
-    protected $spanGaps;
107
-
108
-    /**
109
-     * @var bool
110
-     */
111
-    protected $steppedLine;
112
-
113
-    /**
114
-     * @return boolean
115
-     */
116
-    public function isFill()
117
-    {
118
-        return $this->fill;
119
-    }
120
-
121
-    /**
122
-     * @param boolean|string $fill
123
-     *
124
-     * @return $this
125
-     */
126
-    public function setFill($fill)
127
-    {
128
-        $this->fill = $fill;
129
-
130
-        return $this;
131
-    }
132
-
133
-    /**
134
-     * @return string
135
-     */
136
-    public function getCubicInterpolationMode()
137
-    {
138
-        return $this->cubicInterpolationMode;
139
-    }
140
-
141
-    /**
142
-     * @param string $cubicInterpolationMode
143
-     *
144
-     * @return $this
145
-     */
146
-    public function setCubicInterpolationMode($cubicInterpolationMode)
147
-    {
148
-        $this->cubicInterpolationMode = $cubicInterpolationMode;
149
-
150
-        return $this;
151
-    }
152
-
153
-    /**
154
-     * @return int
155
-     */
156
-    public function getLineTension()
157
-    {
158
-        return $this->lineTension;
159
-    }
160
-
161
-    /**
162
-     * @param float $lineTension
163
-     *
164
-     * @return $this
165
-     */
166
-    public function setLineTension($lineTension)
167
-    {
168
-        $this->lineTension = floatval($lineTension);
169
-
170
-        return $this;
171
-    }
172
-
173
-    /**
174
-     * @return string
175
-     */
176
-    public function getBorderCapStyle()
177
-    {
178
-        return $this->borderCapStyle;
179
-    }
180
-
181
-    /**
182
-     * @param string $borderCapStyle
183
-     *
184
-     * @return $this
185
-     */
186
-    public function setBorderCapStyle($borderCapStyle)
187
-    {
188
-        $this->borderCapStyle = $borderCapStyle;
189
-
190
-        return $this;
191
-    }
192
-
193
-    /**
194
-     * @return array
195
-     */
196
-    public function getBorderDash()
197
-    {
198
-        return $this->borderDash;
199
-    }
200
-
201
-    /**
202
-     * @param array $borderDash
203
-     *
204
-     * @return $this
205
-     */
206
-    public function setBorderDash($borderDash)
207
-    {
208
-        $this->borderDash = $borderDash;
209
-
210
-        return $this;
211
-    }
212
-
213
-    /**
214
-     * @return int
215
-     */
216
-    public function getBorderDashOffset()
217
-    {
218
-        return $this->borderDashOffset;
219
-    }
220
-
221
-    /**
222
-     * @param float $borderDashOffset
223
-     *
224
-     * @return $this
225
-     */
226
-    public function setBorderDashOffset($borderDashOffset)
227
-    {
228
-        $this->borderDashOffset = floatval($borderDashOffset);
229
-
230
-        return $this;
231
-    }
232
-
233
-    /**
234
-     * @return string
235
-     */
236
-    public function getBorderJoinStyle()
237
-    {
238
-        return $this->borderJoinStyle;
239
-    }
240
-
241
-    /**
242
-     * @param string $borderJoinStyle
243
-     *
244
-     * @return $this
245
-     */
246
-    public function setBorderJoinStyle($borderJoinStyle)
247
-    {
248
-        $this->borderJoinStyle = $borderJoinStyle;
249
-
250
-        return $this;
251
-    }
252
-
253
-    /**
254
-     * @return string|string[]
255
-     */
256
-    public function getPointBorderColor()
257
-    {
258
-        return $this->pointBorderColor;
259
-    }
260
-
261
-    /**
262
-     * @param string|string[] $pointBorderColor
263
-     *
264
-     * @return $this
265
-     */
266
-    public function setPointBorderColor($pointBorderColor)
267
-    {
268
-        $this->pointBorderColor = $pointBorderColor;
269
-
270
-        return $this;
271
-    }
272
-
273
-    /**
274
-     * @return string|string[]
275
-     */
276
-    public function getPointBackgroundColor()
277
-    {
278
-        return $this->pointBackgroundColor;
279
-    }
280
-
281
-    /**
282
-     * @param string|string[] $pointBackgroundColor
283
-     *
284
-     * @return $this
285
-     */
286
-    public function setPointBackgroundColor($pointBackgroundColor)
287
-    {
288
-        $this->pointBackgroundColor = $pointBackgroundColor;
289
-
290
-        return $this;
291
-    }
292
-
293
-    /**
294
-     * @return int|int[]
295
-     */
296
-    public function getPointBorderWidth()
297
-    {
298
-        return $this->pointBorderWidth;
299
-    }
300
-
301
-    /**
302
-     * @param int|int[] $pointBorderWidth
303
-     *
304
-     * @return $this
305
-     */
306
-    public function setPointBorderWidth($pointBorderWidth)
307
-    {
308
-        $this->pointBorderWidth = $pointBorderWidth;
309
-
310
-        return $this;
311
-    }
312
-
313
-    /**
314
-     * @return int|int[]
315
-     */
316
-    public function getPointRadius()
317
-    {
318
-        return $this->pointRadius;
319
-    }
320
-
321
-    /**
322
-     * @param int|int[] $pointRadius
323
-     *
324
-     * @return $this
325
-     */
326
-    public function setPointRadius($pointRadius)
327
-    {
328
-        $this->pointRadius = $pointRadius;
329
-
330
-        return $this;
331
-    }
332
-
333
-    /**
334
-     * @return int|int[]
335
-     */
336
-    public function getPointHoverRadius()
337
-    {
338
-        return $this->pointHoverRadius;
339
-    }
340
-
341
-    /**
342
-     * @param int|int[] $pointHoverRadius
343
-     *
344
-     * @return $this
345
-     */
346
-    public function setPointHoverRadius($pointHoverRadius)
347
-    {
348
-        $this->pointHoverRadius = $pointHoverRadius;
349
-
350
-        return $this;
351
-    }
352
-
353
-    /**
354
-     * @return int|int[]
355
-     */
356
-    public function getPointHitRadius()
357
-    {
358
-        return $this->pointHitRadius;
359
-    }
360
-
361
-    /**
362
-     * @param int|int[] $pointHitRadius
363
-     *
364
-     * @return $this
365
-     */
366
-    public function setPointHitRadius($pointHitRadius)
367
-    {
368
-        $this->pointHitRadius = $pointHitRadius;
369
-
370
-        return $this;
371
-    }
372
-
373
-    /**
374
-     * @return string|string[]
375
-     */
376
-    public function getPointHoverBackgroundColor()
377
-    {
378
-        return $this->pointHoverBackgroundColor;
379
-    }
380
-
381
-    /**
382
-     * @param string|string[] $pointHoverBackgroundColor
383
-     *
384
-     * @return $this
385
-     */
386
-    public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
387
-    {
388
-        $this->pointHoverBackgroundColor = $pointHoverBackgroundColor;
389
-
390
-        return $this;
391
-    }
392
-
393
-    /**
394
-     * @return string|string[]
395
-     */
396
-    public function getPointHoverBorderColor()
397
-    {
398
-        return $this->pointHoverBorderColor;
399
-    }
400
-
401
-    /**
402
-     * @param string|string[] $pointHoverBorderColor
403
-     *
404
-     * @return $this
405
-     */
406
-    public function setPointHoverBorderColor($pointHoverBorderColor)
407
-    {
408
-        $this->pointHoverBorderColor = $pointHoverBorderColor;
409
-
410
-        return $this;
411
-    }
412
-
413
-    /**
414
-     * @return int|int[]
415
-     */
416
-    public function getPointHoverBorderWidth()
417
-    {
418
-        return $this->pointHoverBorderWidth;
419
-    }
420
-
421
-    /**
422
-     * @param int|int[] $pointHoverBorderWidth
423
-     *
424
-     * @return $this
425
-     */
426
-    public function setPointHoverBorderWidth($pointHoverBorderWidth)
427
-    {
428
-        $this->pointHoverBorderWidth = $pointHoverBorderWidth;
429
-
430
-        return $this;
431
-    }
432
-
433
-    /**
434
-     * @return mixed
435
-     */
436
-    public function getPointStyle()
437
-    {
438
-        return $this->pointStyle;
439
-    }
440
-
441
-    /**
442
-     * @param mixed $pointStyle
443
-     *
444
-     * @return $this
445
-     */
446
-    public function setPointStyle($pointStyle)
447
-    {
448
-        $this->pointStyle = $pointStyle;
449
-
450
-        return $this;
451
-    }
452
-
453
-    /**
454
-     * @return boolean
455
-     */
456
-    public function isShowLine()
457
-    {
458
-        return $this->showLine;
459
-    }
460
-
461
-    /**
462
-     * @param boolean $showLine
463
-     *
464
-     * @return $this
465
-     */
466
-    public function setShowLine($showLine)
467
-    {
468
-        $this->showLine = $showLine;
469
-
470
-        return $this;
471
-    }
472
-
473
-    /**
474
-     * @return boolean
475
-     */
476
-    public function isSpanGaps()
477
-    {
478
-        return $this->spanGaps;
479
-    }
480
-
481
-    /**
482
-     * @param boolean $spanGaps
483
-     *
484
-     * @return $this
485
-     */
486
-    public function setSpanGaps($spanGaps)
487
-    {
488
-        $this->spanGaps = $spanGaps;
489
-
490
-        return $this;
491
-    }
492
-
493
-    /**
494
-     * @return boolean
495
-     */
496
-    public function isSteppedLine()
497
-    {
498
-        return $this->steppedLine;
499
-    }
500
-
501
-    /**
502
-     * @param boolean $steppedLine
503
-     *
504
-     * @return $this
505
-     */
506
-    public function setSteppedLine($steppedLine)
507
-    {
508
-        $this->steppedLine = $steppedLine;
509
-
510
-        return $this;
511
-    }
13
+	/**
14
+	 * @var bool|string
15
+	 */
16
+	protected $fill;
17
+
18
+	/**
19
+	 * @var string
20
+	 */
21
+	protected $cubicInterpolationMode;
22
+
23
+	/**
24
+	 * @var int
25
+	 */
26
+	protected $lineTension;
27
+
28
+	/**
29
+	 * @var string
30
+	 */
31
+	protected $borderCapStyle;
32
+
33
+	/**
34
+	 * @var array
35
+	 */
36
+	protected $borderDash;
37
+
38
+	/**
39
+	 * @var float
40
+	 */
41
+	protected $borderDashOffset;
42
+
43
+	/**
44
+	 * @var string
45
+	 */
46
+	protected $borderJoinStyle;
47
+
48
+	/**
49
+	 * @var string|string[]
50
+	 */
51
+	protected $pointBorderColor;
52
+
53
+	/**
54
+	 * @var string|string[]
55
+	 */
56
+	protected $pointBackgroundColor;
57
+
58
+	/**
59
+	 * @var int|int[]
60
+	 */
61
+	protected $pointBorderWidth;
62
+
63
+	/**
64
+	 * @var int|int[]
65
+	 */
66
+	protected $pointRadius;
67
+
68
+	/**
69
+	 * @var int|int[]
70
+	 */
71
+	protected $pointHoverRadius;
72
+
73
+	/**
74
+	 * @var int|int[]
75
+	 */
76
+	protected $pointHitRadius;
77
+
78
+	/**
79
+	 * @var string|string[]
80
+	 */
81
+	protected $pointHoverBackgroundColor;
82
+
83
+	/**
84
+	 * @var string|string[]
85
+	 */
86
+	protected $pointHoverBorderColor;
87
+
88
+	/**
89
+	 * @var int|int[]
90
+	 */
91
+	protected $pointHoverBorderWidth;
92
+
93
+	/**
94
+	 * @var mixed
95
+	 */
96
+	protected $pointStyle;
97
+
98
+	/**
99
+	 * @var bool
100
+	 */
101
+	protected $showLine;
102
+
103
+	/**
104
+	 * @var bool
105
+	 */
106
+	protected $spanGaps;
107
+
108
+	/**
109
+	 * @var bool
110
+	 */
111
+	protected $steppedLine;
112
+
113
+	/**
114
+	 * @return boolean
115
+	 */
116
+	public function isFill()
117
+	{
118
+		return $this->fill;
119
+	}
120
+
121
+	/**
122
+	 * @param boolean|string $fill
123
+	 *
124
+	 * @return $this
125
+	 */
126
+	public function setFill($fill)
127
+	{
128
+		$this->fill = $fill;
129
+
130
+		return $this;
131
+	}
132
+
133
+	/**
134
+	 * @return string
135
+	 */
136
+	public function getCubicInterpolationMode()
137
+	{
138
+		return $this->cubicInterpolationMode;
139
+	}
140
+
141
+	/**
142
+	 * @param string $cubicInterpolationMode
143
+	 *
144
+	 * @return $this
145
+	 */
146
+	public function setCubicInterpolationMode($cubicInterpolationMode)
147
+	{
148
+		$this->cubicInterpolationMode = $cubicInterpolationMode;
149
+
150
+		return $this;
151
+	}
152
+
153
+	/**
154
+	 * @return int
155
+	 */
156
+	public function getLineTension()
157
+	{
158
+		return $this->lineTension;
159
+	}
160
+
161
+	/**
162
+	 * @param float $lineTension
163
+	 *
164
+	 * @return $this
165
+	 */
166
+	public function setLineTension($lineTension)
167
+	{
168
+		$this->lineTension = floatval($lineTension);
169
+
170
+		return $this;
171
+	}
172
+
173
+	/**
174
+	 * @return string
175
+	 */
176
+	public function getBorderCapStyle()
177
+	{
178
+		return $this->borderCapStyle;
179
+	}
180
+
181
+	/**
182
+	 * @param string $borderCapStyle
183
+	 *
184
+	 * @return $this
185
+	 */
186
+	public function setBorderCapStyle($borderCapStyle)
187
+	{
188
+		$this->borderCapStyle = $borderCapStyle;
189
+
190
+		return $this;
191
+	}
192
+
193
+	/**
194
+	 * @return array
195
+	 */
196
+	public function getBorderDash()
197
+	{
198
+		return $this->borderDash;
199
+	}
200
+
201
+	/**
202
+	 * @param array $borderDash
203
+	 *
204
+	 * @return $this
205
+	 */
206
+	public function setBorderDash($borderDash)
207
+	{
208
+		$this->borderDash = $borderDash;
209
+
210
+		return $this;
211
+	}
212
+
213
+	/**
214
+	 * @return int
215
+	 */
216
+	public function getBorderDashOffset()
217
+	{
218
+		return $this->borderDashOffset;
219
+	}
220
+
221
+	/**
222
+	 * @param float $borderDashOffset
223
+	 *
224
+	 * @return $this
225
+	 */
226
+	public function setBorderDashOffset($borderDashOffset)
227
+	{
228
+		$this->borderDashOffset = floatval($borderDashOffset);
229
+
230
+		return $this;
231
+	}
232
+
233
+	/**
234
+	 * @return string
235
+	 */
236
+	public function getBorderJoinStyle()
237
+	{
238
+		return $this->borderJoinStyle;
239
+	}
240
+
241
+	/**
242
+	 * @param string $borderJoinStyle
243
+	 *
244
+	 * @return $this
245
+	 */
246
+	public function setBorderJoinStyle($borderJoinStyle)
247
+	{
248
+		$this->borderJoinStyle = $borderJoinStyle;
249
+
250
+		return $this;
251
+	}
252
+
253
+	/**
254
+	 * @return string|string[]
255
+	 */
256
+	public function getPointBorderColor()
257
+	{
258
+		return $this->pointBorderColor;
259
+	}
260
+
261
+	/**
262
+	 * @param string|string[] $pointBorderColor
263
+	 *
264
+	 * @return $this
265
+	 */
266
+	public function setPointBorderColor($pointBorderColor)
267
+	{
268
+		$this->pointBorderColor = $pointBorderColor;
269
+
270
+		return $this;
271
+	}
272
+
273
+	/**
274
+	 * @return string|string[]
275
+	 */
276
+	public function getPointBackgroundColor()
277
+	{
278
+		return $this->pointBackgroundColor;
279
+	}
280
+
281
+	/**
282
+	 * @param string|string[] $pointBackgroundColor
283
+	 *
284
+	 * @return $this
285
+	 */
286
+	public function setPointBackgroundColor($pointBackgroundColor)
287
+	{
288
+		$this->pointBackgroundColor = $pointBackgroundColor;
289
+
290
+		return $this;
291
+	}
292
+
293
+	/**
294
+	 * @return int|int[]
295
+	 */
296
+	public function getPointBorderWidth()
297
+	{
298
+		return $this->pointBorderWidth;
299
+	}
300
+
301
+	/**
302
+	 * @param int|int[] $pointBorderWidth
303
+	 *
304
+	 * @return $this
305
+	 */
306
+	public function setPointBorderWidth($pointBorderWidth)
307
+	{
308
+		$this->pointBorderWidth = $pointBorderWidth;
309
+
310
+		return $this;
311
+	}
312
+
313
+	/**
314
+	 * @return int|int[]
315
+	 */
316
+	public function getPointRadius()
317
+	{
318
+		return $this->pointRadius;
319
+	}
320
+
321
+	/**
322
+	 * @param int|int[] $pointRadius
323
+	 *
324
+	 * @return $this
325
+	 */
326
+	public function setPointRadius($pointRadius)
327
+	{
328
+		$this->pointRadius = $pointRadius;
329
+
330
+		return $this;
331
+	}
332
+
333
+	/**
334
+	 * @return int|int[]
335
+	 */
336
+	public function getPointHoverRadius()
337
+	{
338
+		return $this->pointHoverRadius;
339
+	}
340
+
341
+	/**
342
+	 * @param int|int[] $pointHoverRadius
343
+	 *
344
+	 * @return $this
345
+	 */
346
+	public function setPointHoverRadius($pointHoverRadius)
347
+	{
348
+		$this->pointHoverRadius = $pointHoverRadius;
349
+
350
+		return $this;
351
+	}
352
+
353
+	/**
354
+	 * @return int|int[]
355
+	 */
356
+	public function getPointHitRadius()
357
+	{
358
+		return $this->pointHitRadius;
359
+	}
360
+
361
+	/**
362
+	 * @param int|int[] $pointHitRadius
363
+	 *
364
+	 * @return $this
365
+	 */
366
+	public function setPointHitRadius($pointHitRadius)
367
+	{
368
+		$this->pointHitRadius = $pointHitRadius;
369
+
370
+		return $this;
371
+	}
372
+
373
+	/**
374
+	 * @return string|string[]
375
+	 */
376
+	public function getPointHoverBackgroundColor()
377
+	{
378
+		return $this->pointHoverBackgroundColor;
379
+	}
380
+
381
+	/**
382
+	 * @param string|string[] $pointHoverBackgroundColor
383
+	 *
384
+	 * @return $this
385
+	 */
386
+	public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
387
+	{
388
+		$this->pointHoverBackgroundColor = $pointHoverBackgroundColor;
389
+
390
+		return $this;
391
+	}
392
+
393
+	/**
394
+	 * @return string|string[]
395
+	 */
396
+	public function getPointHoverBorderColor()
397
+	{
398
+		return $this->pointHoverBorderColor;
399
+	}
400
+
401
+	/**
402
+	 * @param string|string[] $pointHoverBorderColor
403
+	 *
404
+	 * @return $this
405
+	 */
406
+	public function setPointHoverBorderColor($pointHoverBorderColor)
407
+	{
408
+		$this->pointHoverBorderColor = $pointHoverBorderColor;
409
+
410
+		return $this;
411
+	}
412
+
413
+	/**
414
+	 * @return int|int[]
415
+	 */
416
+	public function getPointHoverBorderWidth()
417
+	{
418
+		return $this->pointHoverBorderWidth;
419
+	}
420
+
421
+	/**
422
+	 * @param int|int[] $pointHoverBorderWidth
423
+	 *
424
+	 * @return $this
425
+	 */
426
+	public function setPointHoverBorderWidth($pointHoverBorderWidth)
427
+	{
428
+		$this->pointHoverBorderWidth = $pointHoverBorderWidth;
429
+
430
+		return $this;
431
+	}
432
+
433
+	/**
434
+	 * @return mixed
435
+	 */
436
+	public function getPointStyle()
437
+	{
438
+		return $this->pointStyle;
439
+	}
440
+
441
+	/**
442
+	 * @param mixed $pointStyle
443
+	 *
444
+	 * @return $this
445
+	 */
446
+	public function setPointStyle($pointStyle)
447
+	{
448
+		$this->pointStyle = $pointStyle;
449
+
450
+		return $this;
451
+	}
452
+
453
+	/**
454
+	 * @return boolean
455
+	 */
456
+	public function isShowLine()
457
+	{
458
+		return $this->showLine;
459
+	}
460
+
461
+	/**
462
+	 * @param boolean $showLine
463
+	 *
464
+	 * @return $this
465
+	 */
466
+	public function setShowLine($showLine)
467
+	{
468
+		$this->showLine = $showLine;
469
+
470
+		return $this;
471
+	}
472
+
473
+	/**
474
+	 * @return boolean
475
+	 */
476
+	public function isSpanGaps()
477
+	{
478
+		return $this->spanGaps;
479
+	}
480
+
481
+	/**
482
+	 * @param boolean $spanGaps
483
+	 *
484
+	 * @return $this
485
+	 */
486
+	public function setSpanGaps($spanGaps)
487
+	{
488
+		$this->spanGaps = $spanGaps;
489
+
490
+		return $this;
491
+	}
492
+
493
+	/**
494
+	 * @return boolean
495
+	 */
496
+	public function isSteppedLine()
497
+	{
498
+		return $this->steppedLine;
499
+	}
500
+
501
+	/**
502
+	 * @param boolean $steppedLine
503
+	 *
504
+	 * @return $this
505
+	 */
506
+	public function setSteppedLine($steppedLine)
507
+	{
508
+		$this->steppedLine = $steppedLine;
509
+
510
+		return $this;
511
+	}
512 512
 }
Please login to merge, or discard this patch.
src/ArraySerializableInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
  */
9 9
 interface ArraySerializableInterface
10 10
 {
11
-    /**
12
-     * Should return an array containing all values.
13
-     *
14
-     * @return array
15
-     */
16
-    public function getArrayCopy();
11
+	/**
12
+	 * Should return an array containing all values.
13
+	 *
14
+	 * @return array
15
+	 */
16
+	public function getArrayCopy();
17 17
 }
Please login to merge, or discard this patch.
src/ChartOwned.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -8,28 +8,28 @@
 block discarded – undo
8 8
  */
9 9
 trait ChartOwned
10 10
 {
11
-    /**
12
-     * @var ChartInterface
13
-     */
14
-    private $owner;
11
+	/**
12
+	 * @var ChartInterface
13
+	 */
14
+	private $owner;
15 15
 
16
-    /**
17
-     * @param ChartInterface $chart
18
-     *
19
-     * @return $this
20
-     */
21
-    public function setOwner(ChartInterface $chart)
22
-    {
23
-        $this->owner        = $chart;
16
+	/**
17
+	 * @param ChartInterface $chart
18
+	 *
19
+	 * @return $this
20
+	 */
21
+	public function setOwner(ChartInterface $chart)
22
+	{
23
+		$this->owner        = $chart;
24 24
 
25
-        return $this;
26
-    }
25
+		return $this;
26
+	}
27 27
 
28
-    /**
29
-     * @return ChartInterface
30
-     */
31
-    public function owner()
32
-    {
33
-        return $this->owner;
34
-    }
28
+	/**
29
+	 * @return ChartInterface
30
+	 */
31
+	public function owner()
32
+	{
33
+		return $this->owner;
34
+	}
35 35
 }
Please login to merge, or discard this patch.
src/Collection/Data.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
  */
12 12
 class Data extends ArrayAccess implements \JsonSerializable
13 13
 {
14
-    /**
15
-     * @return string
16
-     */
17
-    public function jsonSerialize()
18
-    {
19
-        return Json::encode($this->data);
20
-    }
14
+	/**
15
+	 * @return string
16
+	 */
17
+	public function jsonSerialize()
18
+	{
19
+		return Json::encode($this->data);
20
+	}
21 21
 }
Please login to merge, or discard this patch.
src/Delegate/ArraySerializable.php 1 patch
Indentation   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -10,57 +10,57 @@
 block discarded – undo
10 10
  */
11 11
 trait ArraySerializable
12 12
 {
13
-    /**
14
-     * Will loop through class properties and try and assign their values to an array of data that will be returned.
15
-     *
16
-     * @return array
17
-     * @throws \ReflectionException
18
-     * @throws \Zend_Reflection_Exception
19
-     */
20
-    public function getArrayCopy()
21
-    {
22
-        $data            = [];
23
-        $properties      = get_object_vars($this);
24
-        $reflectionClass = new \Zend_Reflection_Class($this);
25
-        foreach ($properties as $property => $value) {
26
-            // Skip property if it is not accessible
27
-            if (! $reflectionClass->hasProperty($property)) {
28
-                continue;
29
-            }
13
+	/**
14
+	 * Will loop through class properties and try and assign their values to an array of data that will be returned.
15
+	 *
16
+	 * @return array
17
+	 * @throws \ReflectionException
18
+	 * @throws \Zend_Reflection_Exception
19
+	 */
20
+	public function getArrayCopy()
21
+	{
22
+		$data            = [];
23
+		$properties      = get_object_vars($this);
24
+		$reflectionClass = new \Zend_Reflection_Class($this);
25
+		foreach ($properties as $property => $value) {
26
+			// Skip property if it is not accessible
27
+			if (! $reflectionClass->hasProperty($property)) {
28
+				continue;
29
+			}
30 30
 
31
-            // Only process properties that aren't null
32
-            if (! is_null($value)) {
33
-                // Gather phpdoc from property
34
-                $phpDoc = $reflectionClass->getProperty($property)->getDocComment();
35
-                $type   = $phpDoc->getTag('var')->getDescription();
36
-                $object = false;
31
+			// Only process properties that aren't null
32
+			if (! is_null($value)) {
33
+				// Gather phpdoc from property
34
+				$phpDoc = $reflectionClass->getProperty($property)->getDocComment();
35
+				$type   = $phpDoc->getTag('var')->getDescription();
36
+				$object = false;
37 37
 
38
-                // Prepend 'get' to the getter method.
39
-                $getter = 'get' . ucfirst($property);
40
-                if (is_object($value) && ! $this->$property instanceof Expr) {
41
-                    $object = true;
42
-                }
38
+				// Prepend 'get' to the getter method.
39
+				$getter = 'get' . ucfirst($property);
40
+				if (is_object($value) && ! $this->$property instanceof Expr) {
41
+					$object = true;
42
+				}
43 43
 
44
-                // Determine whether the getter method is equal to the property name or is prepended by 'is' or 'get'
45
-                if (strcmp($type, 'bool') === 0 || strcmp($type, 'boolean') === 0) {
46
-                    // Prepend 'is' to the getter method
47
-                    $getter = 'is' . ucfirst($property);
48
-                } elseif (method_exists($this, $property) && is_object($value)) {
49
-                    // The getter method is equal to the property name and the value is an actual object
50
-                    $getter = $property;
51
-                    $object = true;
52
-                }
44
+				// Determine whether the getter method is equal to the property name or is prepended by 'is' or 'get'
45
+				if (strcmp($type, 'bool') === 0 || strcmp($type, 'boolean') === 0) {
46
+					// Prepend 'is' to the getter method
47
+					$getter = 'is' . ucfirst($property);
48
+				} elseif (method_exists($this, $property) && is_object($value)) {
49
+					// The getter method is equal to the property name and the value is an actual object
50
+					$getter = $property;
51
+					$object = true;
52
+				}
53 53
 
54
-                // Abort if the method does not exist
55
-                if (! method_exists($this, $getter)) {
56
-                    continue;
57
-                }
54
+				// Abort if the method does not exist
55
+				if (! method_exists($this, $getter)) {
56
+					continue;
57
+				}
58 58
 
59
-                // Assign the contents of the property to the data array
60
-                $data[ $property ] = $object ? $this->$getter()->getArrayCopy() : $this->$getter();
61
-            }
62
-        }
59
+				// Assign the contents of the property to the data array
60
+				$data[ $property ] = $object ? $this->$getter()->getArrayCopy() : $this->$getter();
61
+			}
62
+		}
63 63
 
64
-        return $data;
65
-    }
64
+		return $data;
65
+	}
66 66
 }
Please login to merge, or discard this patch.
src/Options/Layout.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -14,48 +14,48 @@
 block discarded – undo
14 14
  */
15 15
 class Layout implements ArraySerializableInterface, \JsonSerializable
16 16
 {
17
-    use ArraySerializable;
18
-
19
-    /**
20
-     * @var int|Padding
21
-     */
22
-    private $padding;
23
-
24
-    /**
25
-     * @param int $padding
26
-     */
27
-    public function setPadding($padding)
28
-    {
29
-        $this->padding = intval($padding);
30
-    }
31
-
32
-    /**
33
-     * @return int|Padding
34
-     */
35
-    public function getPadding()
36
-    {
37
-        return $this->padding;
38
-    }
39
-
40
-    /**
41
-     * @return Padding
42
-     */
43
-    public function padding()
44
-    {
45
-        if (is_null($this->padding)) {
46
-            $this->padding = new Padding();
47
-        }
48
-
49
-        return $this->padding;
50
-    }
51
-
52
-    /**
53
-     * @return string
54
-     * @throws \ReflectionException
55
-     * @throws \Zend_Reflection_Exception
56
-     */
57
-    public function jsonSerialize()
58
-    {
59
-        return Json::encode($this->getArrayCopy());
60
-    }
17
+	use ArraySerializable;
18
+
19
+	/**
20
+	 * @var int|Padding
21
+	 */
22
+	private $padding;
23
+
24
+	/**
25
+	 * @param int $padding
26
+	 */
27
+	public function setPadding($padding)
28
+	{
29
+		$this->padding = intval($padding);
30
+	}
31
+
32
+	/**
33
+	 * @return int|Padding
34
+	 */
35
+	public function getPadding()
36
+	{
37
+		return $this->padding;
38
+	}
39
+
40
+	/**
41
+	 * @return Padding
42
+	 */
43
+	public function padding()
44
+	{
45
+		if (is_null($this->padding)) {
46
+			$this->padding = new Padding();
47
+		}
48
+
49
+		return $this->padding;
50
+	}
51
+
52
+	/**
53
+	 * @return string
54
+	 * @throws \ReflectionException
55
+	 * @throws \Zend_Reflection_Exception
56
+	 */
57
+	public function jsonSerialize()
58
+	{
59
+		return Json::encode($this->getArrayCopy());
60
+	}
61 61
 }
Please login to merge, or discard this patch.
src/Options/Scales/GridLines.php 1 patch
Indentation   +337 added lines, -337 removed lines patch added patch discarded remove patch
@@ -12,341 +12,341 @@
 block discarded – undo
12 12
  */
13 13
 class GridLines implements ArraySerializableInterface, \JsonSerializable
14 14
 {
15
-    use ArraySerializable;
16
-
17
-    /**
18
-     * @var bool
19
-     */
20
-    private $display;
21
-
22
-    /**
23
-     * @var string|string[]
24
-     */
25
-    private $color;
26
-
27
-    /**
28
-     * @var float[]
29
-     */
30
-    private $borderDash;
31
-
32
-    /**
33
-     * @var float
34
-     */
35
-    private $borderDashOffset;
36
-
37
-    /**
38
-     * @var int|int[]
39
-     */
40
-    private $lineWidth;
41
-
42
-    /**
43
-     * @var bool
44
-     */
45
-    private $drawBorder;
46
-
47
-    /**
48
-     * @var bool
49
-     */
50
-    private $drawOnChartArea;
51
-
52
-    /**
53
-     * @var bool
54
-     */
55
-    private $drawTicks;
56
-
57
-    /**
58
-     * @var int
59
-     */
60
-    private $tickMarkLength;
61
-
62
-    /**
63
-     * @var int
64
-     */
65
-    private $zeroLineWidth;
66
-
67
-    /**
68
-     * @var string
69
-     */
70
-    private $zeroLineColor;
71
-
72
-    /**
73
-     * @var bool
74
-     */
75
-    private $offsetGridLines;
76
-
77
-    /**
78
-     * @return boolean
79
-     */
80
-    public function isDisplay()
81
-    {
82
-        return $this->display;
83
-    }
84
-
85
-    /**
86
-     * @param boolean $display
87
-     *
88
-     * @return $this
89
-     */
90
-    public function setDisplay($display)
91
-    {
92
-        $this->display = $display;
93
-
94
-        return $this;
95
-    }
96
-
97
-    /**
98
-     * @return string|string[]
99
-     */
100
-    public function getColor()
101
-    {
102
-        return $this->color;
103
-    }
104
-
105
-    /**
106
-     * @param string|string[] $color
107
-     *
108
-     * @return $this
109
-     */
110
-    public function setColor($color)
111
-    {
112
-        if (is_array($color)) {
113
-            array_walk_recursive(
114
-                $color,
115
-                function (&$value) {
116
-                    $value = strval($value);
117
-                }
118
-            );
119
-            $this->color = $color;
120
-        } else {
121
-            $this->color = is_null($color) ? null : strval($color);
122
-        }
123
-
124
-        return $this;
125
-    }
126
-
127
-    /**
128
-     * @return float[]
129
-     */
130
-    public function getBorderDash()
131
-    {
132
-        return $this->borderDash;
133
-    }
134
-
135
-    /**
136
-     * @param float[] $borderDash
137
-     *
138
-     * @return $this
139
-     */
140
-    public function setBorderDash($borderDash)
141
-    {
142
-        if (is_array($borderDash)) {
143
-            array_walk_recursive(
144
-                $borderDash,
145
-                function (&$value) {
146
-                    $value = floatval($value);
147
-                }
148
-            );
149
-            $this->borderDash = $borderDash;
150
-        }
151
-
152
-        return $this;
153
-    }
154
-
155
-    /**
156
-     * @return float
157
-     */
158
-    public function getBorderDashOffset()
159
-    {
160
-        return $this->borderDashOffset;
161
-    }
162
-
163
-    /**
164
-     * @param float $borderDashOffset
165
-     *
166
-     * @return $this
167
-     */
168
-    public function setBorderDashOffset($borderDashOffset)
169
-    {
170
-        $this->borderDashOffset = floatval($borderDashOffset);
171
-
172
-        return $this;
173
-    }
174
-
175
-    /**
176
-     * @return int|int[]
177
-     */
178
-    public function getLineWidth()
179
-    {
180
-        return $this->lineWidth;
181
-    }
182
-
183
-    /**
184
-     * @param int|int[] $lineWidth
185
-     *
186
-     * @return $this
187
-     */
188
-    public function setLineWidth($lineWidth)
189
-    {
190
-        if (is_array($lineWidth)) {
191
-            array_walk_recursive(
192
-                $lineWidth,
193
-                function (&$value) {
194
-                    $value = intval($value);
195
-                }
196
-            );
197
-            $this->lineWidth = $lineWidth;
198
-        } else {
199
-            $this->lineWidth = is_null($lineWidth) ? null : intval($lineWidth);
200
-        }
201
-
202
-        return $this;
203
-    }
204
-
205
-    /**
206
-     * @return boolean
207
-     */
208
-    public function isDrawBorder()
209
-    {
210
-        return $this->drawBorder;
211
-    }
212
-
213
-    /**
214
-     * @param boolean $drawBorder
215
-     *
216
-     * @return $this
217
-     */
218
-    public function setDrawBorder($drawBorder)
219
-    {
220
-        $this->drawBorder = boolval($drawBorder);
221
-
222
-        return $this;
223
-    }
224
-
225
-    /**
226
-     * @return boolean
227
-     */
228
-    public function isDrawOnChartArea()
229
-    {
230
-        return $this->drawOnChartArea;
231
-    }
232
-
233
-    /**
234
-     * @param boolean $drawOnChartArea
235
-     *
236
-     * @return $this
237
-     */
238
-    public function setDrawOnChartArea($drawOnChartArea)
239
-    {
240
-        $this->drawOnChartArea = boolval($drawOnChartArea);
241
-
242
-        return $this;
243
-    }
244
-
245
-    /**
246
-     * @return boolean
247
-     */
248
-    public function isDrawTicks()
249
-    {
250
-        return $this->drawTicks;
251
-    }
252
-
253
-    /**
254
-     * @param boolean $drawTicks
255
-     *
256
-     * @return $this
257
-     */
258
-    public function setDrawTicks($drawTicks)
259
-    {
260
-        $this->drawTicks = boolval($drawTicks);
261
-
262
-        return $this;
263
-    }
264
-
265
-    /**
266
-     * @return int
267
-     */
268
-    public function getTickMarkLength()
269
-    {
270
-        return $this->tickMarkLength;
271
-    }
272
-
273
-    /**
274
-     * @param int $tickMarkLength
275
-     *
276
-     * @return $this
277
-     */
278
-    public function setTickMarkLength($tickMarkLength)
279
-    {
280
-        $this->tickMarkLength = intval($tickMarkLength);
281
-
282
-        return $this;
283
-    }
284
-
285
-    /**
286
-     * @return int
287
-     */
288
-    public function getZeroLineWidth()
289
-    {
290
-        return $this->zeroLineWidth;
291
-    }
292
-
293
-    /**
294
-     * @param int $zeroLineWidth
295
-     *
296
-     * @return $this
297
-     */
298
-    public function setZeroLineWidth($zeroLineWidth)
299
-    {
300
-        $this->zeroLineWidth = intval($zeroLineWidth);
301
-
302
-        return $this;
303
-    }
304
-
305
-    /**
306
-     * @return string
307
-     */
308
-    public function getZeroLineColor()
309
-    {
310
-        return $this->zeroLineColor;
311
-    }
312
-
313
-    /**
314
-     * @param string $zeroLineColor
315
-     *
316
-     * @return $this
317
-     */
318
-    public function setZeroLineColor($zeroLineColor)
319
-    {
320
-        $this->zeroLineColor = is_null($zeroLineColor) ? null : strval($zeroLineColor);
321
-
322
-        return $this;
323
-    }
324
-
325
-    /**
326
-     * @return boolean
327
-     */
328
-    public function isOffsetGridLines()
329
-    {
330
-        return $this->offsetGridLines;
331
-    }
332
-
333
-    /**
334
-     * @param boolean $offsetGridLines
335
-     *
336
-     * @return $this
337
-     */
338
-    public function setOffsetGridLines($offsetGridLines)
339
-    {
340
-        $this->offsetGridLines = boolval($offsetGridLines);
341
-
342
-        return $this;
343
-    }
344
-
345
-    /**
346
-     * @return string
347
-     */
348
-    public function jsonSerialize()
349
-    {
350
-        return Json::encode($this->getArrayCopy());
351
-    }
15
+	use ArraySerializable;
16
+
17
+	/**
18
+	 * @var bool
19
+	 */
20
+	private $display;
21
+
22
+	/**
23
+	 * @var string|string[]
24
+	 */
25
+	private $color;
26
+
27
+	/**
28
+	 * @var float[]
29
+	 */
30
+	private $borderDash;
31
+
32
+	/**
33
+	 * @var float
34
+	 */
35
+	private $borderDashOffset;
36
+
37
+	/**
38
+	 * @var int|int[]
39
+	 */
40
+	private $lineWidth;
41
+
42
+	/**
43
+	 * @var bool
44
+	 */
45
+	private $drawBorder;
46
+
47
+	/**
48
+	 * @var bool
49
+	 */
50
+	private $drawOnChartArea;
51
+
52
+	/**
53
+	 * @var bool
54
+	 */
55
+	private $drawTicks;
56
+
57
+	/**
58
+	 * @var int
59
+	 */
60
+	private $tickMarkLength;
61
+
62
+	/**
63
+	 * @var int
64
+	 */
65
+	private $zeroLineWidth;
66
+
67
+	/**
68
+	 * @var string
69
+	 */
70
+	private $zeroLineColor;
71
+
72
+	/**
73
+	 * @var bool
74
+	 */
75
+	private $offsetGridLines;
76
+
77
+	/**
78
+	 * @return boolean
79
+	 */
80
+	public function isDisplay()
81
+	{
82
+		return $this->display;
83
+	}
84
+
85
+	/**
86
+	 * @param boolean $display
87
+	 *
88
+	 * @return $this
89
+	 */
90
+	public function setDisplay($display)
91
+	{
92
+		$this->display = $display;
93
+
94
+		return $this;
95
+	}
96
+
97
+	/**
98
+	 * @return string|string[]
99
+	 */
100
+	public function getColor()
101
+	{
102
+		return $this->color;
103
+	}
104
+
105
+	/**
106
+	 * @param string|string[] $color
107
+	 *
108
+	 * @return $this
109
+	 */
110
+	public function setColor($color)
111
+	{
112
+		if (is_array($color)) {
113
+			array_walk_recursive(
114
+				$color,
115
+				function (&$value) {
116
+					$value = strval($value);
117
+				}
118
+			);
119
+			$this->color = $color;
120
+		} else {
121
+			$this->color = is_null($color) ? null : strval($color);
122
+		}
123
+
124
+		return $this;
125
+	}
126
+
127
+	/**
128
+	 * @return float[]
129
+	 */
130
+	public function getBorderDash()
131
+	{
132
+		return $this->borderDash;
133
+	}
134
+
135
+	/**
136
+	 * @param float[] $borderDash
137
+	 *
138
+	 * @return $this
139
+	 */
140
+	public function setBorderDash($borderDash)
141
+	{
142
+		if (is_array($borderDash)) {
143
+			array_walk_recursive(
144
+				$borderDash,
145
+				function (&$value) {
146
+					$value = floatval($value);
147
+				}
148
+			);
149
+			$this->borderDash = $borderDash;
150
+		}
151
+
152
+		return $this;
153
+	}
154
+
155
+	/**
156
+	 * @return float
157
+	 */
158
+	public function getBorderDashOffset()
159
+	{
160
+		return $this->borderDashOffset;
161
+	}
162
+
163
+	/**
164
+	 * @param float $borderDashOffset
165
+	 *
166
+	 * @return $this
167
+	 */
168
+	public function setBorderDashOffset($borderDashOffset)
169
+	{
170
+		$this->borderDashOffset = floatval($borderDashOffset);
171
+
172
+		return $this;
173
+	}
174
+
175
+	/**
176
+	 * @return int|int[]
177
+	 */
178
+	public function getLineWidth()
179
+	{
180
+		return $this->lineWidth;
181
+	}
182
+
183
+	/**
184
+	 * @param int|int[] $lineWidth
185
+	 *
186
+	 * @return $this
187
+	 */
188
+	public function setLineWidth($lineWidth)
189
+	{
190
+		if (is_array($lineWidth)) {
191
+			array_walk_recursive(
192
+				$lineWidth,
193
+				function (&$value) {
194
+					$value = intval($value);
195
+				}
196
+			);
197
+			$this->lineWidth = $lineWidth;
198
+		} else {
199
+			$this->lineWidth = is_null($lineWidth) ? null : intval($lineWidth);
200
+		}
201
+
202
+		return $this;
203
+	}
204
+
205
+	/**
206
+	 * @return boolean
207
+	 */
208
+	public function isDrawBorder()
209
+	{
210
+		return $this->drawBorder;
211
+	}
212
+
213
+	/**
214
+	 * @param boolean $drawBorder
215
+	 *
216
+	 * @return $this
217
+	 */
218
+	public function setDrawBorder($drawBorder)
219
+	{
220
+		$this->drawBorder = boolval($drawBorder);
221
+
222
+		return $this;
223
+	}
224
+
225
+	/**
226
+	 * @return boolean
227
+	 */
228
+	public function isDrawOnChartArea()
229
+	{
230
+		return $this->drawOnChartArea;
231
+	}
232
+
233
+	/**
234
+	 * @param boolean $drawOnChartArea
235
+	 *
236
+	 * @return $this
237
+	 */
238
+	public function setDrawOnChartArea($drawOnChartArea)
239
+	{
240
+		$this->drawOnChartArea = boolval($drawOnChartArea);
241
+
242
+		return $this;
243
+	}
244
+
245
+	/**
246
+	 * @return boolean
247
+	 */
248
+	public function isDrawTicks()
249
+	{
250
+		return $this->drawTicks;
251
+	}
252
+
253
+	/**
254
+	 * @param boolean $drawTicks
255
+	 *
256
+	 * @return $this
257
+	 */
258
+	public function setDrawTicks($drawTicks)
259
+	{
260
+		$this->drawTicks = boolval($drawTicks);
261
+
262
+		return $this;
263
+	}
264
+
265
+	/**
266
+	 * @return int
267
+	 */
268
+	public function getTickMarkLength()
269
+	{
270
+		return $this->tickMarkLength;
271
+	}
272
+
273
+	/**
274
+	 * @param int $tickMarkLength
275
+	 *
276
+	 * @return $this
277
+	 */
278
+	public function setTickMarkLength($tickMarkLength)
279
+	{
280
+		$this->tickMarkLength = intval($tickMarkLength);
281
+
282
+		return $this;
283
+	}
284
+
285
+	/**
286
+	 * @return int
287
+	 */
288
+	public function getZeroLineWidth()
289
+	{
290
+		return $this->zeroLineWidth;
291
+	}
292
+
293
+	/**
294
+	 * @param int $zeroLineWidth
295
+	 *
296
+	 * @return $this
297
+	 */
298
+	public function setZeroLineWidth($zeroLineWidth)
299
+	{
300
+		$this->zeroLineWidth = intval($zeroLineWidth);
301
+
302
+		return $this;
303
+	}
304
+
305
+	/**
306
+	 * @return string
307
+	 */
308
+	public function getZeroLineColor()
309
+	{
310
+		return $this->zeroLineColor;
311
+	}
312
+
313
+	/**
314
+	 * @param string $zeroLineColor
315
+	 *
316
+	 * @return $this
317
+	 */
318
+	public function setZeroLineColor($zeroLineColor)
319
+	{
320
+		$this->zeroLineColor = is_null($zeroLineColor) ? null : strval($zeroLineColor);
321
+
322
+		return $this;
323
+	}
324
+
325
+	/**
326
+	 * @return boolean
327
+	 */
328
+	public function isOffsetGridLines()
329
+	{
330
+		return $this->offsetGridLines;
331
+	}
332
+
333
+	/**
334
+	 * @param boolean $offsetGridLines
335
+	 *
336
+	 * @return $this
337
+	 */
338
+	public function setOffsetGridLines($offsetGridLines)
339
+	{
340
+		$this->offsetGridLines = boolval($offsetGridLines);
341
+
342
+		return $this;
343
+	}
344
+
345
+	/**
346
+	 * @return string
347
+	 */
348
+	public function jsonSerialize()
349
+	{
350
+		return Json::encode($this->getArrayCopy());
351
+	}
352 352
 }
Please login to merge, or discard this patch.