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 ( 45ed2e...8ecc56 )
by halfpastfour
03:00
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   +339 added lines, -339 removed lines patch added patch discarded remove patch
@@ -13,343 +13,343 @@
 block discarded – undo
13 13
  */
14 14
 class GridLines implements ArraySerializableInterface, \JsonSerializable
15 15
 {
16
-    use ArraySerializable;
17
-
18
-    /**
19
-     * @var bool
20
-     */
21
-    private $display;
22
-
23
-    /**
24
-     * @var string|string[]
25
-     */
26
-    private $color;
27
-
28
-    /**
29
-     * @var float[]
30
-     */
31
-    private $borderDash;
32
-
33
-    /**
34
-     * @var float
35
-     */
36
-    private $borderDashOffset;
37
-
38
-    /**
39
-     * @var int|int[]
40
-     */
41
-    private $lineWidth;
42
-
43
-    /**
44
-     * @var bool
45
-     */
46
-    private $drawBorder;
47
-
48
-    /**
49
-     * @var bool
50
-     */
51
-    private $drawOnChartArea;
52
-
53
-    /**
54
-     * @var bool
55
-     */
56
-    private $drawTicks;
57
-
58
-    /**
59
-     * @var int
60
-     */
61
-    private $tickMarkLength;
62
-
63
-    /**
64
-     * @var int
65
-     */
66
-    private $zeroLineWidth;
67
-
68
-    /**
69
-     * @var string
70
-     */
71
-    private $zeroLineColor;
72
-
73
-    /**
74
-     * @var bool
75
-     */
76
-    private $offsetGridLines;
77
-
78
-    /**
79
-     * @return boolean
80
-     */
81
-    public function isDisplay()
82
-    {
83
-        return $this->display;
84
-    }
85
-
86
-    /**
87
-     * @param boolean $display
88
-     *
89
-     * @return $this
90
-     */
91
-    public function setDisplay($display)
92
-    {
93
-        $this->display = $display;
94
-
95
-        return $this;
96
-    }
97
-
98
-    /**
99
-     * @return string|string[]
100
-     */
101
-    public function getColor()
102
-    {
103
-        return $this->color;
104
-    }
105
-
106
-    /**
107
-     * @param string|string[] $color
108
-     *
109
-     * @return $this
110
-     */
111
-    public function setColor($color)
112
-    {
113
-        if (is_array($color)) {
114
-            array_walk_recursive(
115
-                $color,
116
-                function (&$value) {
117
-                    $value = strval($value);
118
-                }
119
-            );
120
-            $this->color = $color;
121
-        } else {
122
-            $this->color = is_null($color) ? null : strval($color);
123
-        }
124
-
125
-        return $this;
126
-    }
127
-
128
-    /**
129
-     * @return \float[]
130
-     */
131
-    public function getBorderDash()
132
-    {
133
-        return $this->borderDash;
134
-    }
135
-
136
-    /**
137
-     * @param \float[] $borderDash
138
-     *
139
-     * @return $this
140
-     */
141
-    public function setBorderDash($borderDash)
142
-    {
143
-        if (is_array($borderDash)) {
144
-            array_walk_recursive(
145
-                $borderDash,
146
-                function (&$value) {
147
-                    $value = floatval($value);
148
-                }
149
-            );
150
-            $this->borderDash = $borderDash;
151
-        }
152
-
153
-        return $this;
154
-    }
155
-
156
-    /**
157
-     * @return float
158
-     */
159
-    public function getBorderDashOffset()
160
-    {
161
-        return $this->borderDashOffset;
162
-    }
163
-
164
-    /**
165
-     * @param float $borderDashOffset
166
-     *
167
-     * @return $this
168
-     */
169
-    public function setBorderDashOffset($borderDashOffset)
170
-    {
171
-        $this->borderDashOffset = floatval($borderDashOffset);
172
-
173
-        return $this;
174
-    }
175
-
176
-    /**
177
-     * @return int|int[]
178
-     */
179
-    public function getLineWidth()
180
-    {
181
-        return $this->lineWidth;
182
-    }
183
-
184
-    /**
185
-     * @param int|int[] $lineWidth
186
-     *
187
-     * @return $this
188
-     */
189
-    public function setLineWidth($lineWidth)
190
-    {
191
-        if (is_array($lineWidth)) {
192
-            array_walk_recursive(
193
-                $lineWidth,
194
-                function (&$value) {
195
-                    $value = intval($value);
196
-                }
197
-            );
198
-            $this->lineWidth = $lineWidth;
199
-        } else {
200
-            $this->lineWidth = is_null($lineWidth) ? null : intval($lineWidth);
201
-        }
202
-
203
-        return $this;
204
-    }
205
-
206
-    /**
207
-     * @return boolean
208
-     */
209
-    public function isDrawBorder()
210
-    {
211
-        return $this->drawBorder;
212
-    }
213
-
214
-    /**
215
-     * @param boolean $drawBorder
216
-     *
217
-     * @return $this
218
-     */
219
-    public function setDrawBorder($drawBorder)
220
-    {
221
-        $this->drawBorder = boolval($drawBorder);
222
-
223
-        return $this;
224
-    }
225
-
226
-    /**
227
-     * @return boolean
228
-     */
229
-    public function isDrawOnChartArea()
230
-    {
231
-        return $this->drawOnChartArea;
232
-    }
233
-
234
-    /**
235
-     * @param boolean $drawOnChartArea
236
-     *
237
-     * @return $this
238
-     */
239
-    public function setDrawOnChartArea($drawOnChartArea)
240
-    {
241
-        $this->drawOnChartArea = boolval($drawOnChartArea);
242
-
243
-        return $this;
244
-    }
245
-
246
-    /**
247
-     * @return boolean
248
-     */
249
-    public function isDrawTicks()
250
-    {
251
-        return $this->drawTicks;
252
-    }
253
-
254
-    /**
255
-     * @param boolean $drawTicks
256
-     *
257
-     * @return $this
258
-     */
259
-    public function setDrawTicks($drawTicks)
260
-    {
261
-        $this->drawTicks = boolval($drawTicks);
262
-
263
-        return $this;
264
-    }
265
-
266
-    /**
267
-     * @return int
268
-     */
269
-    public function getTickMarkLength()
270
-    {
271
-        return $this->tickMarkLength;
272
-    }
273
-
274
-    /**
275
-     * @param int $tickMarkLength
276
-     *
277
-     * @return $this
278
-     */
279
-    public function setTickMarkLength($tickMarkLength)
280
-    {
281
-        $this->tickMarkLength = intval($tickMarkLength);
282
-
283
-        return $this;
284
-    }
285
-
286
-    /**
287
-     * @return int
288
-     */
289
-    public function getZeroLineWidth()
290
-    {
291
-        return $this->zeroLineWidth;
292
-    }
293
-
294
-    /**
295
-     * @param int $zeroLineWidth
296
-     *
297
-     * @return $this
298
-     */
299
-    public function setZeroLineWidth($zeroLineWidth)
300
-    {
301
-        $this->zeroLineWidth = intval($zeroLineWidth);
302
-
303
-        return $this;
304
-    }
305
-
306
-    /**
307
-     * @return string
308
-     */
309
-    public function getZeroLineColor()
310
-    {
311
-        return $this->zeroLineColor;
312
-    }
313
-
314
-    /**
315
-     * @param string $zeroLineColor
316
-     *
317
-     * @return $this
318
-     */
319
-    public function setZeroLineColor($zeroLineColor)
320
-    {
321
-        $this->zeroLineColor = is_null($zeroLineColor) ? null : strval($zeroLineColor);
322
-
323
-        return $this;
324
-    }
325
-
326
-    /**
327
-     * @return boolean
328
-     */
329
-    public function isOffsetGridLines()
330
-    {
331
-        return $this->offsetGridLines;
332
-    }
333
-
334
-    /**
335
-     * @param boolean $offsetGridLines
336
-     *
337
-     * @return $this
338
-     */
339
-    public function setOffsetGridLines($offsetGridLines)
340
-    {
341
-        $this->offsetGridLines = boolval($offsetGridLines);
342
-
343
-        return $this;
344
-    }
345
-
346
-    /**
347
-     * @return string
348
-     * @throws \ReflectionException
349
-     * @throws \Zend_Reflection_Exception
350
-     */
351
-    public function jsonSerialize()
352
-    {
353
-        return Json::encode($this->getArrayCopy());
354
-    }
16
+	use ArraySerializable;
17
+
18
+	/**
19
+	 * @var bool
20
+	 */
21
+	private $display;
22
+
23
+	/**
24
+	 * @var string|string[]
25
+	 */
26
+	private $color;
27
+
28
+	/**
29
+	 * @var float[]
30
+	 */
31
+	private $borderDash;
32
+
33
+	/**
34
+	 * @var float
35
+	 */
36
+	private $borderDashOffset;
37
+
38
+	/**
39
+	 * @var int|int[]
40
+	 */
41
+	private $lineWidth;
42
+
43
+	/**
44
+	 * @var bool
45
+	 */
46
+	private $drawBorder;
47
+
48
+	/**
49
+	 * @var bool
50
+	 */
51
+	private $drawOnChartArea;
52
+
53
+	/**
54
+	 * @var bool
55
+	 */
56
+	private $drawTicks;
57
+
58
+	/**
59
+	 * @var int
60
+	 */
61
+	private $tickMarkLength;
62
+
63
+	/**
64
+	 * @var int
65
+	 */
66
+	private $zeroLineWidth;
67
+
68
+	/**
69
+	 * @var string
70
+	 */
71
+	private $zeroLineColor;
72
+
73
+	/**
74
+	 * @var bool
75
+	 */
76
+	private $offsetGridLines;
77
+
78
+	/**
79
+	 * @return boolean
80
+	 */
81
+	public function isDisplay()
82
+	{
83
+		return $this->display;
84
+	}
85
+
86
+	/**
87
+	 * @param boolean $display
88
+	 *
89
+	 * @return $this
90
+	 */
91
+	public function setDisplay($display)
92
+	{
93
+		$this->display = $display;
94
+
95
+		return $this;
96
+	}
97
+
98
+	/**
99
+	 * @return string|string[]
100
+	 */
101
+	public function getColor()
102
+	{
103
+		return $this->color;
104
+	}
105
+
106
+	/**
107
+	 * @param string|string[] $color
108
+	 *
109
+	 * @return $this
110
+	 */
111
+	public function setColor($color)
112
+	{
113
+		if (is_array($color)) {
114
+			array_walk_recursive(
115
+				$color,
116
+				function (&$value) {
117
+					$value = strval($value);
118
+				}
119
+			);
120
+			$this->color = $color;
121
+		} else {
122
+			$this->color = is_null($color) ? null : strval($color);
123
+		}
124
+
125
+		return $this;
126
+	}
127
+
128
+	/**
129
+	 * @return \float[]
130
+	 */
131
+	public function getBorderDash()
132
+	{
133
+		return $this->borderDash;
134
+	}
135
+
136
+	/**
137
+	 * @param \float[] $borderDash
138
+	 *
139
+	 * @return $this
140
+	 */
141
+	public function setBorderDash($borderDash)
142
+	{
143
+		if (is_array($borderDash)) {
144
+			array_walk_recursive(
145
+				$borderDash,
146
+				function (&$value) {
147
+					$value = floatval($value);
148
+				}
149
+			);
150
+			$this->borderDash = $borderDash;
151
+		}
152
+
153
+		return $this;
154
+	}
155
+
156
+	/**
157
+	 * @return float
158
+	 */
159
+	public function getBorderDashOffset()
160
+	{
161
+		return $this->borderDashOffset;
162
+	}
163
+
164
+	/**
165
+	 * @param float $borderDashOffset
166
+	 *
167
+	 * @return $this
168
+	 */
169
+	public function setBorderDashOffset($borderDashOffset)
170
+	{
171
+		$this->borderDashOffset = floatval($borderDashOffset);
172
+
173
+		return $this;
174
+	}
175
+
176
+	/**
177
+	 * @return int|int[]
178
+	 */
179
+	public function getLineWidth()
180
+	{
181
+		return $this->lineWidth;
182
+	}
183
+
184
+	/**
185
+	 * @param int|int[] $lineWidth
186
+	 *
187
+	 * @return $this
188
+	 */
189
+	public function setLineWidth($lineWidth)
190
+	{
191
+		if (is_array($lineWidth)) {
192
+			array_walk_recursive(
193
+				$lineWidth,
194
+				function (&$value) {
195
+					$value = intval($value);
196
+				}
197
+			);
198
+			$this->lineWidth = $lineWidth;
199
+		} else {
200
+			$this->lineWidth = is_null($lineWidth) ? null : intval($lineWidth);
201
+		}
202
+
203
+		return $this;
204
+	}
205
+
206
+	/**
207
+	 * @return boolean
208
+	 */
209
+	public function isDrawBorder()
210
+	{
211
+		return $this->drawBorder;
212
+	}
213
+
214
+	/**
215
+	 * @param boolean $drawBorder
216
+	 *
217
+	 * @return $this
218
+	 */
219
+	public function setDrawBorder($drawBorder)
220
+	{
221
+		$this->drawBorder = boolval($drawBorder);
222
+
223
+		return $this;
224
+	}
225
+
226
+	/**
227
+	 * @return boolean
228
+	 */
229
+	public function isDrawOnChartArea()
230
+	{
231
+		return $this->drawOnChartArea;
232
+	}
233
+
234
+	/**
235
+	 * @param boolean $drawOnChartArea
236
+	 *
237
+	 * @return $this
238
+	 */
239
+	public function setDrawOnChartArea($drawOnChartArea)
240
+	{
241
+		$this->drawOnChartArea = boolval($drawOnChartArea);
242
+
243
+		return $this;
244
+	}
245
+
246
+	/**
247
+	 * @return boolean
248
+	 */
249
+	public function isDrawTicks()
250
+	{
251
+		return $this->drawTicks;
252
+	}
253
+
254
+	/**
255
+	 * @param boolean $drawTicks
256
+	 *
257
+	 * @return $this
258
+	 */
259
+	public function setDrawTicks($drawTicks)
260
+	{
261
+		$this->drawTicks = boolval($drawTicks);
262
+
263
+		return $this;
264
+	}
265
+
266
+	/**
267
+	 * @return int
268
+	 */
269
+	public function getTickMarkLength()
270
+	{
271
+		return $this->tickMarkLength;
272
+	}
273
+
274
+	/**
275
+	 * @param int $tickMarkLength
276
+	 *
277
+	 * @return $this
278
+	 */
279
+	public function setTickMarkLength($tickMarkLength)
280
+	{
281
+		$this->tickMarkLength = intval($tickMarkLength);
282
+
283
+		return $this;
284
+	}
285
+
286
+	/**
287
+	 * @return int
288
+	 */
289
+	public function getZeroLineWidth()
290
+	{
291
+		return $this->zeroLineWidth;
292
+	}
293
+
294
+	/**
295
+	 * @param int $zeroLineWidth
296
+	 *
297
+	 * @return $this
298
+	 */
299
+	public function setZeroLineWidth($zeroLineWidth)
300
+	{
301
+		$this->zeroLineWidth = intval($zeroLineWidth);
302
+
303
+		return $this;
304
+	}
305
+
306
+	/**
307
+	 * @return string
308
+	 */
309
+	public function getZeroLineColor()
310
+	{
311
+		return $this->zeroLineColor;
312
+	}
313
+
314
+	/**
315
+	 * @param string $zeroLineColor
316
+	 *
317
+	 * @return $this
318
+	 */
319
+	public function setZeroLineColor($zeroLineColor)
320
+	{
321
+		$this->zeroLineColor = is_null($zeroLineColor) ? null : strval($zeroLineColor);
322
+
323
+		return $this;
324
+	}
325
+
326
+	/**
327
+	 * @return boolean
328
+	 */
329
+	public function isOffsetGridLines()
330
+	{
331
+		return $this->offsetGridLines;
332
+	}
333
+
334
+	/**
335
+	 * @param boolean $offsetGridLines
336
+	 *
337
+	 * @return $this
338
+	 */
339
+	public function setOffsetGridLines($offsetGridLines)
340
+	{
341
+		$this->offsetGridLines = boolval($offsetGridLines);
342
+
343
+		return $this;
344
+	}
345
+
346
+	/**
347
+	 * @return string
348
+	 * @throws \ReflectionException
349
+	 * @throws \Zend_Reflection_Exception
350
+	 */
351
+	public function jsonSerialize()
352
+	{
353
+		return Json::encode($this->getArrayCopy());
354
+	}
355 355
 }
Please login to merge, or discard this patch.