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/Options/Scales/GridLines.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         if (is_array($color)) {
113 113
             array_walk_recursive(
114 114
                 $color,
115
-                function (&$value) {
115
+                function(&$value) {
116 116
                     $value = strval($value);
117 117
                 }
118 118
             );
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         if (is_array($borderDash)) {
143 143
             array_walk_recursive(
144 144
                 $borderDash,
145
-                function (&$value) {
145
+                function(&$value) {
146 146
                     $value = floatval($value);
147 147
                 }
148 148
             );
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
         if (is_array($lineWidth)) {
191 191
             array_walk_recursive(
192 192
                 $lineWidth,
193
-                function (&$value) {
193
+                function(&$value) {
194 194
                     $value = intval($value);
195 195
                 }
196 196
             );
Please login to merge, or discard this 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.
src/Options/Scales/ScaleLabel.php 2 patches
Indentation   +159 added lines, -159 removed lines patch added patch discarded remove patch
@@ -12,163 +12,163 @@
 block discarded – undo
12 12
  */
13 13
 class ScaleLabel implements ArraySerializableInterface, \JsonSerializable
14 14
 {
15
-    use ArraySerializable;
16
-
17
-    /**
18
-     * @var bool
19
-     */
20
-    private $display;
21
-
22
-    /**
23
-     * @var string
24
-     */
25
-    private $labelString;
26
-
27
-    /**
28
-     * @var string
29
-     */
30
-    private $fontColor;
31
-
32
-    /**
33
-     * @var string
34
-     */
35
-    private $fontFamily;
36
-
37
-    /**
38
-     * @var int
39
-     */
40
-    private $fontSize;
41
-
42
-    /**
43
-     * @var string
44
-     */
45
-    private $fontStyle;
46
-
47
-    /**
48
-     * @return boolean
49
-     */
50
-    public function isDisplay()
51
-    {
52
-        return $this->display;
53
-    }
54
-
55
-    /**
56
-     * @param boolean $display
57
-     *
58
-     * @return $this
59
-     */
60
-    public function setDisplay($display)
61
-    {
62
-        $this->display = ! ! $display;
63
-
64
-        return $this;
65
-    }
66
-
67
-    /**
68
-     * @return string
69
-     */
70
-    public function getLabelString()
71
-    {
72
-        return $this->labelString;
73
-    }
74
-
75
-    /**
76
-     * @param string $labelString
77
-     *
78
-     * @return $this
79
-     */
80
-    public function setLabelString($labelString)
81
-    {
82
-        $this->labelString = strval($labelString);
83
-
84
-        return $this;
85
-    }
86
-
87
-    /**
88
-     * @return string
89
-     */
90
-    public function getFontColor()
91
-    {
92
-        return $this->fontColor;
93
-    }
94
-
95
-    /**
96
-     * @param string $fontColor
97
-     *
98
-     * @return $this
99
-     */
100
-    public function setFontColor($fontColor)
101
-    {
102
-        $this->fontColor = strval($fontColor);
103
-
104
-        return $this;
105
-    }
106
-
107
-    /**
108
-     * @return string
109
-     */
110
-    public function getFontFamily()
111
-    {
112
-        return $this->fontFamily;
113
-    }
114
-
115
-    /**
116
-     * @param string $fontFamily
117
-     *
118
-     * @return $this
119
-     */
120
-    public function setFontFamily($fontFamily)
121
-    {
122
-        $this->fontFamily = strval($fontFamily);
123
-
124
-        return $this;
125
-    }
126
-
127
-    /**
128
-     * @return int
129
-     */
130
-    public function getFontSize()
131
-    {
132
-        return $this->fontSize;
133
-    }
134
-
135
-    /**
136
-     * @param int $fontSize
137
-     *
138
-     * @return $this
139
-     */
140
-    public function setFontSize($fontSize)
141
-    {
142
-        $this->fontSize = intval($fontSize);
143
-
144
-        return $this;
145
-    }
146
-
147
-    /**
148
-     * @return string
149
-     */
150
-    public function getFontStyle()
151
-    {
152
-        return $this->fontStyle;
153
-    }
154
-
155
-    /**
156
-     * @param string $fontStyle
157
-     *
158
-     * @return $this
159
-     */
160
-    public function setFontStyle($fontStyle)
161
-    {
162
-        $this->fontStyle = strval($fontStyle);
163
-
164
-        return $this;
165
-    }
166
-
167
-    /**
168
-     * @return string
169
-     */
170
-    public function jsonSerialize()
171
-    {
172
-        return Json::encode($this->getArrayCopy());
173
-    }
15
+	use ArraySerializable;
16
+
17
+	/**
18
+	 * @var bool
19
+	 */
20
+	private $display;
21
+
22
+	/**
23
+	 * @var string
24
+	 */
25
+	private $labelString;
26
+
27
+	/**
28
+	 * @var string
29
+	 */
30
+	private $fontColor;
31
+
32
+	/**
33
+	 * @var string
34
+	 */
35
+	private $fontFamily;
36
+
37
+	/**
38
+	 * @var int
39
+	 */
40
+	private $fontSize;
41
+
42
+	/**
43
+	 * @var string
44
+	 */
45
+	private $fontStyle;
46
+
47
+	/**
48
+	 * @return boolean
49
+	 */
50
+	public function isDisplay()
51
+	{
52
+		return $this->display;
53
+	}
54
+
55
+	/**
56
+	 * @param boolean $display
57
+	 *
58
+	 * @return $this
59
+	 */
60
+	public function setDisplay($display)
61
+	{
62
+		$this->display = ! ! $display;
63
+
64
+		return $this;
65
+	}
66
+
67
+	/**
68
+	 * @return string
69
+	 */
70
+	public function getLabelString()
71
+	{
72
+		return $this->labelString;
73
+	}
74
+
75
+	/**
76
+	 * @param string $labelString
77
+	 *
78
+	 * @return $this
79
+	 */
80
+	public function setLabelString($labelString)
81
+	{
82
+		$this->labelString = strval($labelString);
83
+
84
+		return $this;
85
+	}
86
+
87
+	/**
88
+	 * @return string
89
+	 */
90
+	public function getFontColor()
91
+	{
92
+		return $this->fontColor;
93
+	}
94
+
95
+	/**
96
+	 * @param string $fontColor
97
+	 *
98
+	 * @return $this
99
+	 */
100
+	public function setFontColor($fontColor)
101
+	{
102
+		$this->fontColor = strval($fontColor);
103
+
104
+		return $this;
105
+	}
106
+
107
+	/**
108
+	 * @return string
109
+	 */
110
+	public function getFontFamily()
111
+	{
112
+		return $this->fontFamily;
113
+	}
114
+
115
+	/**
116
+	 * @param string $fontFamily
117
+	 *
118
+	 * @return $this
119
+	 */
120
+	public function setFontFamily($fontFamily)
121
+	{
122
+		$this->fontFamily = strval($fontFamily);
123
+
124
+		return $this;
125
+	}
126
+
127
+	/**
128
+	 * @return int
129
+	 */
130
+	public function getFontSize()
131
+	{
132
+		return $this->fontSize;
133
+	}
134
+
135
+	/**
136
+	 * @param int $fontSize
137
+	 *
138
+	 * @return $this
139
+	 */
140
+	public function setFontSize($fontSize)
141
+	{
142
+		$this->fontSize = intval($fontSize);
143
+
144
+		return $this;
145
+	}
146
+
147
+	/**
148
+	 * @return string
149
+	 */
150
+	public function getFontStyle()
151
+	{
152
+		return $this->fontStyle;
153
+	}
154
+
155
+	/**
156
+	 * @param string $fontStyle
157
+	 *
158
+	 * @return $this
159
+	 */
160
+	public function setFontStyle($fontStyle)
161
+	{
162
+		$this->fontStyle = strval($fontStyle);
163
+
164
+		return $this;
165
+	}
166
+
167
+	/**
168
+	 * @return string
169
+	 */
170
+	public function jsonSerialize()
171
+	{
172
+		return Json::encode($this->getArrayCopy());
173
+	}
174 174
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     public function setDisplay($display)
61 61
     {
62
-        $this->display = ! ! $display;
62
+        $this->display = !!$display;
63 63
 
64 64
         return $this;
65 65
     }
Please login to merge, or discard this patch.
src/Options/Layout/Padding.php 1 patch
Indentation   +109 added lines, -109 removed lines patch added patch discarded remove patch
@@ -12,113 +12,113 @@
 block discarded – undo
12 12
  */
13 13
 class Padding implements ArraySerializableInterface, \JsonSerializable
14 14
 {
15
-    use ArraySerializable;
16
-
17
-    /**
18
-     * @var int
19
-     */
20
-    private $bottom;
21
-
22
-    /**
23
-     * @var int
24
-     */
25
-    private $left;
26
-
27
-    /**
28
-     * @var int
29
-     */
30
-    private $right;
31
-
32
-    /**
33
-     * @var int
34
-     */
35
-    private $top;
36
-
37
-    /**
38
-     * @return int
39
-     */
40
-    public function getBottom()
41
-    {
42
-        return $this->bottom;
43
-    }
44
-
45
-    /**
46
-     * @param int $bottom
47
-     *
48
-     * @return $this
49
-     */
50
-    public function setBottom($bottom)
51
-    {
52
-        $this->bottom = intval($bottom);
53
-
54
-        return $this;
55
-    }
56
-
57
-    /**
58
-     * @return int
59
-     */
60
-    public function getLeft()
61
-    {
62
-        return $this->left;
63
-    }
64
-
65
-    /**
66
-     * @param int $left
67
-     *
68
-     * @return $this
69
-     */
70
-    public function setLeft($left)
71
-    {
72
-        $this->left = intval($left);
73
-
74
-        return $this;
75
-    }
76
-
77
-    /**
78
-     * @return int
79
-     */
80
-    public function getRight()
81
-    {
82
-        return $this->right;
83
-    }
84
-
85
-    /**
86
-     * @param int $right
87
-     *
88
-     * @return $this
89
-     */
90
-    public function setRight($right)
91
-    {
92
-        $this->right = intval($right);
93
-
94
-        return $this;
95
-    }
96
-
97
-    /**
98
-     * @return int
99
-     */
100
-    public function getTop()
101
-    {
102
-        return $this->top;
103
-    }
104
-
105
-    /**
106
-     * @param int $top
107
-     *
108
-     * @return $this
109
-     */
110
-    public function setTop($top)
111
-    {
112
-        $this->top = intval($top);
113
-
114
-        return $this;
115
-    }
116
-
117
-    /**
118
-     * @return string
119
-     */
120
-    public function jsonSerialize()
121
-    {
122
-        return Json::encode($this->getArrayCopy());
123
-    }
15
+	use ArraySerializable;
16
+
17
+	/**
18
+	 * @var int
19
+	 */
20
+	private $bottom;
21
+
22
+	/**
23
+	 * @var int
24
+	 */
25
+	private $left;
26
+
27
+	/**
28
+	 * @var int
29
+	 */
30
+	private $right;
31
+
32
+	/**
33
+	 * @var int
34
+	 */
35
+	private $top;
36
+
37
+	/**
38
+	 * @return int
39
+	 */
40
+	public function getBottom()
41
+	{
42
+		return $this->bottom;
43
+	}
44
+
45
+	/**
46
+	 * @param int $bottom
47
+	 *
48
+	 * @return $this
49
+	 */
50
+	public function setBottom($bottom)
51
+	{
52
+		$this->bottom = intval($bottom);
53
+
54
+		return $this;
55
+	}
56
+
57
+	/**
58
+	 * @return int
59
+	 */
60
+	public function getLeft()
61
+	{
62
+		return $this->left;
63
+	}
64
+
65
+	/**
66
+	 * @param int $left
67
+	 *
68
+	 * @return $this
69
+	 */
70
+	public function setLeft($left)
71
+	{
72
+		$this->left = intval($left);
73
+
74
+		return $this;
75
+	}
76
+
77
+	/**
78
+	 * @return int
79
+	 */
80
+	public function getRight()
81
+	{
82
+		return $this->right;
83
+	}
84
+
85
+	/**
86
+	 * @param int $right
87
+	 *
88
+	 * @return $this
89
+	 */
90
+	public function setRight($right)
91
+	{
92
+		$this->right = intval($right);
93
+
94
+		return $this;
95
+	}
96
+
97
+	/**
98
+	 * @return int
99
+	 */
100
+	public function getTop()
101
+	{
102
+		return $this->top;
103
+	}
104
+
105
+	/**
106
+	 * @param int $top
107
+	 *
108
+	 * @return $this
109
+	 */
110
+	public function setTop($top)
111
+	{
112
+		$this->top = intval($top);
113
+
114
+		return $this;
115
+	}
116
+
117
+	/**
118
+	 * @return string
119
+	 */
120
+	public function jsonSerialize()
121
+	{
122
+		return Json::encode($this->getArrayCopy());
123
+	}
124 124
 }
Please login to merge, or discard this patch.
src/Options/Hover.php 2 patches
Indentation   +109 added lines, -109 removed lines patch added patch discarded remove patch
@@ -13,113 +13,113 @@
 block discarded – undo
13 13
  */
14 14
 class Hover implements ArraySerializableInterface, \JsonSerializable
15 15
 {
16
-    use ArraySerializable;
17
-
18
-    /**
19
-     * @var string
20
-     */
21
-    private $mode;
22
-
23
-    /**
24
-     * @var bool
25
-     */
26
-    private $intersect;
27
-
28
-    /**
29
-     * @var int
30
-     */
31
-    private $animationDuration;
32
-
33
-    /**
34
-     * @var Expr
35
-     */
36
-    private $onHover;
37
-
38
-    /**
39
-     * @return string
40
-     */
41
-    public function getMode()
42
-    {
43
-        return $this->mode;
44
-    }
45
-
46
-    /**
47
-     * @param string $mode
48
-     *
49
-     * @return $this
50
-     */
51
-    public function setMode($mode)
52
-    {
53
-        $this->mode = strval($mode);
54
-
55
-        return $this;
56
-    }
57
-
58
-    /**
59
-     * @return boolean
60
-     */
61
-    public function isIntersect()
62
-    {
63
-        return $this->intersect;
64
-    }
65
-
66
-    /**
67
-     * @param boolean $intersect
68
-     *
69
-     * @return $this
70
-     */
71
-    public function setIntersect($intersect)
72
-    {
73
-        $this->intersect = ! ! $intersect;
74
-
75
-        return $this;
76
-    }
77
-
78
-    /**
79
-     * @return int
80
-     */
81
-    public function getAnimationDuration()
82
-    {
83
-        return $this->animationDuration;
84
-    }
85
-
86
-    /**
87
-     * @param int $animationDuration
88
-     *
89
-     * @return $this
90
-     */
91
-    public function setAnimationDuration($animationDuration)
92
-    {
93
-        $this->animationDuration = intval($animationDuration);
94
-
95
-        return $this;
96
-    }
97
-
98
-    /**
99
-     * @return \Zend\Json\Expr
100
-     */
101
-    public function getOnHover()
102
-    {
103
-        return $this->onHover;
104
-    }
105
-
106
-    /**
107
-     * @param Expr $onHover
108
-     *
109
-     * @return $this
110
-     */
111
-    public function setOnHover($onHover)
112
-    {
113
-        $this->onHover = new Expr(strval($onHover));
114
-
115
-        return $this;
116
-    }
117
-
118
-    /**
119
-     * @return string
120
-     */
121
-    public function jsonSerialize()
122
-    {
123
-        return Json::encode($this->getArrayCopy());
124
-    }
16
+	use ArraySerializable;
17
+
18
+	/**
19
+	 * @var string
20
+	 */
21
+	private $mode;
22
+
23
+	/**
24
+	 * @var bool
25
+	 */
26
+	private $intersect;
27
+
28
+	/**
29
+	 * @var int
30
+	 */
31
+	private $animationDuration;
32
+
33
+	/**
34
+	 * @var Expr
35
+	 */
36
+	private $onHover;
37
+
38
+	/**
39
+	 * @return string
40
+	 */
41
+	public function getMode()
42
+	{
43
+		return $this->mode;
44
+	}
45
+
46
+	/**
47
+	 * @param string $mode
48
+	 *
49
+	 * @return $this
50
+	 */
51
+	public function setMode($mode)
52
+	{
53
+		$this->mode = strval($mode);
54
+
55
+		return $this;
56
+	}
57
+
58
+	/**
59
+	 * @return boolean
60
+	 */
61
+	public function isIntersect()
62
+	{
63
+		return $this->intersect;
64
+	}
65
+
66
+	/**
67
+	 * @param boolean $intersect
68
+	 *
69
+	 * @return $this
70
+	 */
71
+	public function setIntersect($intersect)
72
+	{
73
+		$this->intersect = ! ! $intersect;
74
+
75
+		return $this;
76
+	}
77
+
78
+	/**
79
+	 * @return int
80
+	 */
81
+	public function getAnimationDuration()
82
+	{
83
+		return $this->animationDuration;
84
+	}
85
+
86
+	/**
87
+	 * @param int $animationDuration
88
+	 *
89
+	 * @return $this
90
+	 */
91
+	public function setAnimationDuration($animationDuration)
92
+	{
93
+		$this->animationDuration = intval($animationDuration);
94
+
95
+		return $this;
96
+	}
97
+
98
+	/**
99
+	 * @return \Zend\Json\Expr
100
+	 */
101
+	public function getOnHover()
102
+	{
103
+		return $this->onHover;
104
+	}
105
+
106
+	/**
107
+	 * @param Expr $onHover
108
+	 *
109
+	 * @return $this
110
+	 */
111
+	public function setOnHover($onHover)
112
+	{
113
+		$this->onHover = new Expr(strval($onHover));
114
+
115
+		return $this;
116
+	}
117
+
118
+	/**
119
+	 * @return string
120
+	 */
121
+	public function jsonSerialize()
122
+	{
123
+		return Json::encode($this->getArrayCopy());
124
+	}
125 125
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     public function setIntersect($intersect)
72 72
     {
73
-        $this->intersect = ! ! $intersect;
73
+        $this->intersect = !!$intersect;
74 74
 
75 75
         return $this;
76 76
     }
Please login to merge, or discard this patch.
src/Options/Scale.php 2 patches
Indentation   +584 added lines, -584 removed lines patch added patch discarded remove patch
@@ -15,588 +15,588 @@
 block discarded – undo
15 15
  */
16 16
 abstract class Scale implements ArraySerializableInterface, \JsonSerializable
17 17
 {
18
-    use ArraySerializable;
19
-
20
-    /**
21
-     * @var string
22
-     */
23
-    protected $type;
24
-
25
-    /**
26
-     * @var bool
27
-     */
28
-    protected $display;
29
-
30
-    /**
31
-     * @var string
32
-     */
33
-    protected $id;
34
-
35
-    /**
36
-     * @var bool
37
-     */
38
-    protected $stacked;
39
-
40
-    /**
41
-     * @var int
42
-     */
43
-    protected $barThickness;
44
-
45
-    /**
46
-     * @var string
47
-     */
48
-    protected $position;
49
-
50
-    /**
51
-     * @var string
52
-     */
53
-    protected $beforeUpdate;
54
-
55
-    /**
56
-     * @var string
57
-     */
58
-    protected $beforeSetDimensions;
59
-
60
-    /**
61
-     * @var string
62
-     */
63
-    protected $afterSetDimensions;
64
-
65
-    /**
66
-     * @var string
67
-     */
68
-    protected $beforeDataLimits;
69
-
70
-    /**
71
-     * @var string
72
-     */
73
-    protected $afterDataLimits;
74
-
75
-    /**
76
-     * @var string
77
-     */
78
-    protected $beforeBuildTicks;
79
-
80
-    /**
81
-     * @var string
82
-     */
83
-    protected $afterBuildTicks;
84
-
85
-    /**
86
-     * @var string
87
-     */
88
-    protected $beforeTickToLabelConversion;
89
-
90
-    /**
91
-     * @var string
92
-     */
93
-    protected $afterTickToLabelConversion;
94
-
95
-    /**
96
-     * @var string
97
-     */
98
-    protected $beforeCalculateTickRotation;
99
-
100
-    /**
101
-     * @var string
102
-     */
103
-    protected $afterCalculateTickRotation;
104
-
105
-    /**
106
-     * @var string
107
-     */
108
-    protected $beforeFit;
109
-
110
-    /**
111
-     * @var string
112
-     */
113
-    protected $afterFit;
114
-
115
-    /**
116
-     * @var string
117
-     */
118
-    protected $afterUpdate;
119
-
120
-    /**
121
-     * @var GridLines
122
-     */
123
-    protected $gridLines;
124
-
125
-    /**
126
-     * @var ScaleLabel
127
-     */
128
-    protected $scaleLabel;
129
-
130
-    /**
131
-     * @var Ticks
132
-     */
133
-    protected $ticks;
134
-
135
-    /**
136
-     * @return string
137
-     */
138
-    public function getType()
139
-    {
140
-        return $this->type;
141
-    }
142
-
143
-    /**
144
-     * @param string $type
145
-     *
146
-     * @return $this
147
-     */
148
-    public function setType($type)
149
-    {
150
-        $this->type = $type;
151
-
152
-        return $this;
153
-    }
154
-
155
-    /**
156
-     * @return boolean
157
-     */
158
-    public function isDisplay()
159
-    {
160
-        return $this->display;
161
-    }
162
-
163
-    /**
164
-     * @param boolean $display
165
-     *
166
-     * @return $this
167
-     */
168
-    public function setDisplay($display)
169
-    {
170
-        $this->display = $display;
171
-
172
-        return $this;
173
-    }
174
-
175
-    /**
176
-     * @return string
177
-     */
178
-    public function getId()
179
-    {
180
-        return $this->id;
181
-    }
182
-
183
-    /**
184
-     * @param string $id
185
-     *
186
-     * @return $this
187
-     */
188
-    public function setId($id)
189
-    {
190
-        $this->id = strval($id);
191
-
192
-        return $this;
193
-    }
194
-
195
-    /**
196
-     * @return boolean
197
-     */
198
-    public function isStacked()
199
-    {
200
-        return $this->stacked;
201
-    }
202
-
203
-    /**
204
-     * @param boolean $stacked
205
-     *
206
-     * @return $this
207
-     */
208
-    public function setStacked($stacked)
209
-    {
210
-        $this->stacked = ! ! $stacked;
211
-
212
-        return $this;
213
-    }
214
-
215
-    /**
216
-     * @return int
217
-     */
218
-    public function getBarThickness()
219
-    {
220
-        return $this->barThickness;
221
-    }
222
-
223
-    /**
224
-     * @param int $barThickness
225
-     *
226
-     * @return $this
227
-     */
228
-    public function setBarThickness($barThickness)
229
-    {
230
-        $this->barThickness = intval($barThickness);
231
-
232
-        return $this;
233
-    }
234
-
235
-    /**
236
-     * @return string
237
-     */
238
-    public function getPosition()
239
-    {
240
-        return $this->position;
241
-    }
242
-
243
-    /**
244
-     * @param string $position
245
-     *
246
-     * @return $this
247
-     */
248
-    public function setPosition($position)
249
-    {
250
-        $this->position = strval($position);
251
-
252
-        return $this;
253
-    }
254
-
255
-    /**
256
-     * @return string
257
-     */
258
-    public function getBeforeUpdate()
259
-    {
260
-        return $this->beforeUpdate;
261
-    }
262
-
263
-    /**
264
-     * @param string $beforeUpdate
265
-     *
266
-     * @return $this
267
-     */
268
-    public function setBeforeUpdate($beforeUpdate)
269
-    {
270
-        $this->beforeUpdate = strval($beforeUpdate);
271
-
272
-        return $this;
273
-    }
274
-
275
-    /**
276
-     * @return string
277
-     */
278
-    public function getBeforeSetDimensions()
279
-    {
280
-        return $this->beforeSetDimensions;
281
-    }
282
-
283
-    /**
284
-     * @param string $beforeSetDimensions
285
-     *
286
-     * @return $this
287
-     */
288
-    public function setBeforeSetDimensions($beforeSetDimensions)
289
-    {
290
-        $this->beforeSetDimensions = strval($beforeSetDimensions);
291
-
292
-        return $this;
293
-    }
294
-
295
-    /**
296
-     * @return string
297
-     */
298
-    public function getAfterSetDimensions()
299
-    {
300
-        return $this->afterSetDimensions;
301
-    }
302
-
303
-    /**
304
-     * @param string $afterSetDimensions
305
-     *
306
-     * @return $this
307
-     */
308
-    public function setAfterSetDimensions($afterSetDimensions)
309
-    {
310
-        $this->afterSetDimensions = strval($afterSetDimensions);
311
-
312
-        return $this;
313
-    }
314
-
315
-    /**
316
-     * @return string
317
-     */
318
-    public function getBeforeDataLimits()
319
-    {
320
-        return $this->beforeDataLimits;
321
-    }
322
-
323
-    /**
324
-     * @param string $beforeDataLimits
325
-     *
326
-     * @return $this
327
-     */
328
-    public function setBeforeDataLimits($beforeDataLimits)
329
-    {
330
-        $this->beforeDataLimits = strval($beforeDataLimits);
331
-
332
-        return $this;
333
-    }
334
-
335
-    /**
336
-     * @return string
337
-     */
338
-    public function getAfterDataLimits()
339
-    {
340
-        return $this->afterDataLimits;
341
-    }
342
-
343
-    /**
344
-     * @param string $afterDataLimits
345
-     *
346
-     * @return $this
347
-     */
348
-    public function setAfterDataLimits($afterDataLimits)
349
-    {
350
-        $this->afterDataLimits = strval($afterDataLimits);
351
-
352
-        return $this;
353
-    }
354
-
355
-    /**
356
-     * @return string
357
-     */
358
-    public function getBeforeBuildTicks()
359
-    {
360
-        return $this->beforeBuildTicks;
361
-    }
362
-
363
-    /**
364
-     * @param string $beforeBuildTicks
365
-     *
366
-     * @return $this
367
-     */
368
-    public function setBeforeBuildTicks($beforeBuildTicks)
369
-    {
370
-        $this->beforeBuildTicks = strval($beforeBuildTicks);
371
-
372
-        return $this;
373
-    }
374
-
375
-    /**
376
-     * @return string
377
-     */
378
-    public function getAfterBuildTicks()
379
-    {
380
-        return $this->afterBuildTicks;
381
-    }
382
-
383
-    /**
384
-     * @param string $afterBuildTicks
385
-     *
386
-     * @return $this
387
-     */
388
-    public function setAfterBuildTicks($afterBuildTicks)
389
-    {
390
-        $this->afterBuildTicks = strval($afterBuildTicks);
391
-
392
-        return $this;
393
-    }
394
-
395
-    /**
396
-     * @return string
397
-     */
398
-    public function getBeforeTickToLabelConversion()
399
-    {
400
-        return $this->beforeTickToLabelConversion;
401
-    }
402
-
403
-    /**
404
-     * @param string $beforeTickToLabelConversion
405
-     *
406
-     * @return $this
407
-     */
408
-    public function setBeforeTickToLabelConversion($beforeTickToLabelConversion)
409
-    {
410
-        $this->beforeTickToLabelConversion = strval($beforeTickToLabelConversion);
411
-
412
-        return $this;
413
-    }
414
-
415
-    /**
416
-     * @return string
417
-     */
418
-    public function getAfterTickToLabelConversion()
419
-    {
420
-        return $this->afterTickToLabelConversion;
421
-    }
422
-
423
-    /**
424
-     * @param string $afterTickToLabelConversion
425
-     *
426
-     * @return $this
427
-     */
428
-    public function setAfterTickToLabelConversion($afterTickToLabelConversion)
429
-    {
430
-        $this->afterTickToLabelConversion = strval($afterTickToLabelConversion);
431
-
432
-        return $this;
433
-    }
434
-
435
-    /**
436
-     * @return string
437
-     */
438
-    public function getBeforeCalculateTickRotation()
439
-    {
440
-        return $this->beforeCalculateTickRotation;
441
-    }
442
-
443
-    /**
444
-     * @param string $beforeCalculateTickRotation
445
-     *
446
-     * @return $this
447
-     */
448
-    public function setBeforeCalculateTickRotation($beforeCalculateTickRotation)
449
-    {
450
-        $this->beforeCalculateTickRotation = strval($beforeCalculateTickRotation);
451
-
452
-        return $this;
453
-    }
454
-
455
-    /**
456
-     * @return string
457
-     */
458
-    public function getAfterCalculateTickRotation()
459
-    {
460
-        return $this->afterCalculateTickRotation;
461
-    }
462
-
463
-    /**
464
-     * @param string $afterCalculateTickRotation
465
-     *
466
-     * @return $this
467
-     */
468
-    public function setAfterCalculateTickRotation($afterCalculateTickRotation)
469
-    {
470
-        $this->afterCalculateTickRotation = strval($afterCalculateTickRotation);
471
-
472
-        return $this;
473
-    }
474
-
475
-    /**
476
-     * @return string
477
-     */
478
-    public function getBeforeFit()
479
-    {
480
-        return $this->beforeFit;
481
-    }
482
-
483
-    /**
484
-     * @param string $beforeFit
485
-     *
486
-     * @return $this
487
-     */
488
-    public function setBeforeFit($beforeFit)
489
-    {
490
-        $this->beforeFit = strval($beforeFit);
491
-
492
-        return $this;
493
-    }
494
-
495
-    /**
496
-     * @return string
497
-     */
498
-    public function getAfterFit()
499
-    {
500
-        return $this->afterFit;
501
-    }
502
-
503
-    /**
504
-     * @param string $afterFit
505
-     *
506
-     * @return $this
507
-     */
508
-    public function setAfterFit($afterFit)
509
-    {
510
-        $this->afterFit = strval($afterFit);
511
-
512
-        return $this;
513
-    }
514
-
515
-    /**
516
-     * @return string
517
-     */
518
-    public function getAfterUpdate()
519
-    {
520
-        return $this->afterUpdate;
521
-    }
522
-
523
-    /**
524
-     * @param string $afterUpdate
525
-     *
526
-     * @return $this
527
-     */
528
-    public function setAfterUpdate($afterUpdate)
529
-    {
530
-        $this->afterUpdate = strval($afterUpdate);
531
-
532
-        return $this;
533
-    }
534
-
535
-    /**
536
-     * @return GridLines
537
-     */
538
-    public function getGridLines()
539
-    {
540
-        return $this->gridLines;
541
-    }
542
-
543
-    /**
544
-     * @return GridLines
545
-     */
546
-    public function gridLines()
547
-    {
548
-        if (is_null($this->gridLines)) {
549
-            $this->gridLines = new GridLines();
550
-        }
551
-
552
-        return $this->gridLines;
553
-    }
554
-
555
-    /**
556
-     * @return ScaleLabel
557
-     */
558
-    public function getScaleLabel()
559
-    {
560
-        return $this->scaleLabel;
561
-    }
562
-
563
-    /**
564
-     * @return ScaleLabel
565
-     */
566
-    public function scaleLabel()
567
-    {
568
-        if (is_null($this->scaleLabel)) {
569
-            $this->scaleLabel = new ScaleLabel();
570
-        }
571
-
572
-        return $this->scaleLabel;
573
-    }
574
-
575
-    /**
576
-     * @return Ticks
577
-     */
578
-    public function getTicks()
579
-    {
580
-        return $this->ticks;
581
-    }
582
-
583
-    /**
584
-     * @return Ticks
585
-     */
586
-    public function ticks()
587
-    {
588
-        if (is_null($this->ticks)) {
589
-            $this->ticks = new Ticks();
590
-        }
591
-
592
-        return $this->ticks;
593
-    }
594
-
595
-    /**
596
-     * @return string
597
-     */
598
-    public function jsonSerialize()
599
-    {
600
-        return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
601
-    }
18
+	use ArraySerializable;
19
+
20
+	/**
21
+	 * @var string
22
+	 */
23
+	protected $type;
24
+
25
+	/**
26
+	 * @var bool
27
+	 */
28
+	protected $display;
29
+
30
+	/**
31
+	 * @var string
32
+	 */
33
+	protected $id;
34
+
35
+	/**
36
+	 * @var bool
37
+	 */
38
+	protected $stacked;
39
+
40
+	/**
41
+	 * @var int
42
+	 */
43
+	protected $barThickness;
44
+
45
+	/**
46
+	 * @var string
47
+	 */
48
+	protected $position;
49
+
50
+	/**
51
+	 * @var string
52
+	 */
53
+	protected $beforeUpdate;
54
+
55
+	/**
56
+	 * @var string
57
+	 */
58
+	protected $beforeSetDimensions;
59
+
60
+	/**
61
+	 * @var string
62
+	 */
63
+	protected $afterSetDimensions;
64
+
65
+	/**
66
+	 * @var string
67
+	 */
68
+	protected $beforeDataLimits;
69
+
70
+	/**
71
+	 * @var string
72
+	 */
73
+	protected $afterDataLimits;
74
+
75
+	/**
76
+	 * @var string
77
+	 */
78
+	protected $beforeBuildTicks;
79
+
80
+	/**
81
+	 * @var string
82
+	 */
83
+	protected $afterBuildTicks;
84
+
85
+	/**
86
+	 * @var string
87
+	 */
88
+	protected $beforeTickToLabelConversion;
89
+
90
+	/**
91
+	 * @var string
92
+	 */
93
+	protected $afterTickToLabelConversion;
94
+
95
+	/**
96
+	 * @var string
97
+	 */
98
+	protected $beforeCalculateTickRotation;
99
+
100
+	/**
101
+	 * @var string
102
+	 */
103
+	protected $afterCalculateTickRotation;
104
+
105
+	/**
106
+	 * @var string
107
+	 */
108
+	protected $beforeFit;
109
+
110
+	/**
111
+	 * @var string
112
+	 */
113
+	protected $afterFit;
114
+
115
+	/**
116
+	 * @var string
117
+	 */
118
+	protected $afterUpdate;
119
+
120
+	/**
121
+	 * @var GridLines
122
+	 */
123
+	protected $gridLines;
124
+
125
+	/**
126
+	 * @var ScaleLabel
127
+	 */
128
+	protected $scaleLabel;
129
+
130
+	/**
131
+	 * @var Ticks
132
+	 */
133
+	protected $ticks;
134
+
135
+	/**
136
+	 * @return string
137
+	 */
138
+	public function getType()
139
+	{
140
+		return $this->type;
141
+	}
142
+
143
+	/**
144
+	 * @param string $type
145
+	 *
146
+	 * @return $this
147
+	 */
148
+	public function setType($type)
149
+	{
150
+		$this->type = $type;
151
+
152
+		return $this;
153
+	}
154
+
155
+	/**
156
+	 * @return boolean
157
+	 */
158
+	public function isDisplay()
159
+	{
160
+		return $this->display;
161
+	}
162
+
163
+	/**
164
+	 * @param boolean $display
165
+	 *
166
+	 * @return $this
167
+	 */
168
+	public function setDisplay($display)
169
+	{
170
+		$this->display = $display;
171
+
172
+		return $this;
173
+	}
174
+
175
+	/**
176
+	 * @return string
177
+	 */
178
+	public function getId()
179
+	{
180
+		return $this->id;
181
+	}
182
+
183
+	/**
184
+	 * @param string $id
185
+	 *
186
+	 * @return $this
187
+	 */
188
+	public function setId($id)
189
+	{
190
+		$this->id = strval($id);
191
+
192
+		return $this;
193
+	}
194
+
195
+	/**
196
+	 * @return boolean
197
+	 */
198
+	public function isStacked()
199
+	{
200
+		return $this->stacked;
201
+	}
202
+
203
+	/**
204
+	 * @param boolean $stacked
205
+	 *
206
+	 * @return $this
207
+	 */
208
+	public function setStacked($stacked)
209
+	{
210
+		$this->stacked = ! ! $stacked;
211
+
212
+		return $this;
213
+	}
214
+
215
+	/**
216
+	 * @return int
217
+	 */
218
+	public function getBarThickness()
219
+	{
220
+		return $this->barThickness;
221
+	}
222
+
223
+	/**
224
+	 * @param int $barThickness
225
+	 *
226
+	 * @return $this
227
+	 */
228
+	public function setBarThickness($barThickness)
229
+	{
230
+		$this->barThickness = intval($barThickness);
231
+
232
+		return $this;
233
+	}
234
+
235
+	/**
236
+	 * @return string
237
+	 */
238
+	public function getPosition()
239
+	{
240
+		return $this->position;
241
+	}
242
+
243
+	/**
244
+	 * @param string $position
245
+	 *
246
+	 * @return $this
247
+	 */
248
+	public function setPosition($position)
249
+	{
250
+		$this->position = strval($position);
251
+
252
+		return $this;
253
+	}
254
+
255
+	/**
256
+	 * @return string
257
+	 */
258
+	public function getBeforeUpdate()
259
+	{
260
+		return $this->beforeUpdate;
261
+	}
262
+
263
+	/**
264
+	 * @param string $beforeUpdate
265
+	 *
266
+	 * @return $this
267
+	 */
268
+	public function setBeforeUpdate($beforeUpdate)
269
+	{
270
+		$this->beforeUpdate = strval($beforeUpdate);
271
+
272
+		return $this;
273
+	}
274
+
275
+	/**
276
+	 * @return string
277
+	 */
278
+	public function getBeforeSetDimensions()
279
+	{
280
+		return $this->beforeSetDimensions;
281
+	}
282
+
283
+	/**
284
+	 * @param string $beforeSetDimensions
285
+	 *
286
+	 * @return $this
287
+	 */
288
+	public function setBeforeSetDimensions($beforeSetDimensions)
289
+	{
290
+		$this->beforeSetDimensions = strval($beforeSetDimensions);
291
+
292
+		return $this;
293
+	}
294
+
295
+	/**
296
+	 * @return string
297
+	 */
298
+	public function getAfterSetDimensions()
299
+	{
300
+		return $this->afterSetDimensions;
301
+	}
302
+
303
+	/**
304
+	 * @param string $afterSetDimensions
305
+	 *
306
+	 * @return $this
307
+	 */
308
+	public function setAfterSetDimensions($afterSetDimensions)
309
+	{
310
+		$this->afterSetDimensions = strval($afterSetDimensions);
311
+
312
+		return $this;
313
+	}
314
+
315
+	/**
316
+	 * @return string
317
+	 */
318
+	public function getBeforeDataLimits()
319
+	{
320
+		return $this->beforeDataLimits;
321
+	}
322
+
323
+	/**
324
+	 * @param string $beforeDataLimits
325
+	 *
326
+	 * @return $this
327
+	 */
328
+	public function setBeforeDataLimits($beforeDataLimits)
329
+	{
330
+		$this->beforeDataLimits = strval($beforeDataLimits);
331
+
332
+		return $this;
333
+	}
334
+
335
+	/**
336
+	 * @return string
337
+	 */
338
+	public function getAfterDataLimits()
339
+	{
340
+		return $this->afterDataLimits;
341
+	}
342
+
343
+	/**
344
+	 * @param string $afterDataLimits
345
+	 *
346
+	 * @return $this
347
+	 */
348
+	public function setAfterDataLimits($afterDataLimits)
349
+	{
350
+		$this->afterDataLimits = strval($afterDataLimits);
351
+
352
+		return $this;
353
+	}
354
+
355
+	/**
356
+	 * @return string
357
+	 */
358
+	public function getBeforeBuildTicks()
359
+	{
360
+		return $this->beforeBuildTicks;
361
+	}
362
+
363
+	/**
364
+	 * @param string $beforeBuildTicks
365
+	 *
366
+	 * @return $this
367
+	 */
368
+	public function setBeforeBuildTicks($beforeBuildTicks)
369
+	{
370
+		$this->beforeBuildTicks = strval($beforeBuildTicks);
371
+
372
+		return $this;
373
+	}
374
+
375
+	/**
376
+	 * @return string
377
+	 */
378
+	public function getAfterBuildTicks()
379
+	{
380
+		return $this->afterBuildTicks;
381
+	}
382
+
383
+	/**
384
+	 * @param string $afterBuildTicks
385
+	 *
386
+	 * @return $this
387
+	 */
388
+	public function setAfterBuildTicks($afterBuildTicks)
389
+	{
390
+		$this->afterBuildTicks = strval($afterBuildTicks);
391
+
392
+		return $this;
393
+	}
394
+
395
+	/**
396
+	 * @return string
397
+	 */
398
+	public function getBeforeTickToLabelConversion()
399
+	{
400
+		return $this->beforeTickToLabelConversion;
401
+	}
402
+
403
+	/**
404
+	 * @param string $beforeTickToLabelConversion
405
+	 *
406
+	 * @return $this
407
+	 */
408
+	public function setBeforeTickToLabelConversion($beforeTickToLabelConversion)
409
+	{
410
+		$this->beforeTickToLabelConversion = strval($beforeTickToLabelConversion);
411
+
412
+		return $this;
413
+	}
414
+
415
+	/**
416
+	 * @return string
417
+	 */
418
+	public function getAfterTickToLabelConversion()
419
+	{
420
+		return $this->afterTickToLabelConversion;
421
+	}
422
+
423
+	/**
424
+	 * @param string $afterTickToLabelConversion
425
+	 *
426
+	 * @return $this
427
+	 */
428
+	public function setAfterTickToLabelConversion($afterTickToLabelConversion)
429
+	{
430
+		$this->afterTickToLabelConversion = strval($afterTickToLabelConversion);
431
+
432
+		return $this;
433
+	}
434
+
435
+	/**
436
+	 * @return string
437
+	 */
438
+	public function getBeforeCalculateTickRotation()
439
+	{
440
+		return $this->beforeCalculateTickRotation;
441
+	}
442
+
443
+	/**
444
+	 * @param string $beforeCalculateTickRotation
445
+	 *
446
+	 * @return $this
447
+	 */
448
+	public function setBeforeCalculateTickRotation($beforeCalculateTickRotation)
449
+	{
450
+		$this->beforeCalculateTickRotation = strval($beforeCalculateTickRotation);
451
+
452
+		return $this;
453
+	}
454
+
455
+	/**
456
+	 * @return string
457
+	 */
458
+	public function getAfterCalculateTickRotation()
459
+	{
460
+		return $this->afterCalculateTickRotation;
461
+	}
462
+
463
+	/**
464
+	 * @param string $afterCalculateTickRotation
465
+	 *
466
+	 * @return $this
467
+	 */
468
+	public function setAfterCalculateTickRotation($afterCalculateTickRotation)
469
+	{
470
+		$this->afterCalculateTickRotation = strval($afterCalculateTickRotation);
471
+
472
+		return $this;
473
+	}
474
+
475
+	/**
476
+	 * @return string
477
+	 */
478
+	public function getBeforeFit()
479
+	{
480
+		return $this->beforeFit;
481
+	}
482
+
483
+	/**
484
+	 * @param string $beforeFit
485
+	 *
486
+	 * @return $this
487
+	 */
488
+	public function setBeforeFit($beforeFit)
489
+	{
490
+		$this->beforeFit = strval($beforeFit);
491
+
492
+		return $this;
493
+	}
494
+
495
+	/**
496
+	 * @return string
497
+	 */
498
+	public function getAfterFit()
499
+	{
500
+		return $this->afterFit;
501
+	}
502
+
503
+	/**
504
+	 * @param string $afterFit
505
+	 *
506
+	 * @return $this
507
+	 */
508
+	public function setAfterFit($afterFit)
509
+	{
510
+		$this->afterFit = strval($afterFit);
511
+
512
+		return $this;
513
+	}
514
+
515
+	/**
516
+	 * @return string
517
+	 */
518
+	public function getAfterUpdate()
519
+	{
520
+		return $this->afterUpdate;
521
+	}
522
+
523
+	/**
524
+	 * @param string $afterUpdate
525
+	 *
526
+	 * @return $this
527
+	 */
528
+	public function setAfterUpdate($afterUpdate)
529
+	{
530
+		$this->afterUpdate = strval($afterUpdate);
531
+
532
+		return $this;
533
+	}
534
+
535
+	/**
536
+	 * @return GridLines
537
+	 */
538
+	public function getGridLines()
539
+	{
540
+		return $this->gridLines;
541
+	}
542
+
543
+	/**
544
+	 * @return GridLines
545
+	 */
546
+	public function gridLines()
547
+	{
548
+		if (is_null($this->gridLines)) {
549
+			$this->gridLines = new GridLines();
550
+		}
551
+
552
+		return $this->gridLines;
553
+	}
554
+
555
+	/**
556
+	 * @return ScaleLabel
557
+	 */
558
+	public function getScaleLabel()
559
+	{
560
+		return $this->scaleLabel;
561
+	}
562
+
563
+	/**
564
+	 * @return ScaleLabel
565
+	 */
566
+	public function scaleLabel()
567
+	{
568
+		if (is_null($this->scaleLabel)) {
569
+			$this->scaleLabel = new ScaleLabel();
570
+		}
571
+
572
+		return $this->scaleLabel;
573
+	}
574
+
575
+	/**
576
+	 * @return Ticks
577
+	 */
578
+	public function getTicks()
579
+	{
580
+		return $this->ticks;
581
+	}
582
+
583
+	/**
584
+	 * @return Ticks
585
+	 */
586
+	public function ticks()
587
+	{
588
+		if (is_null($this->ticks)) {
589
+			$this->ticks = new Ticks();
590
+		}
591
+
592
+		return $this->ticks;
593
+	}
594
+
595
+	/**
596
+	 * @return string
597
+	 */
598
+	public function jsonSerialize()
599
+	{
600
+		return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
601
+	}
602 602
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
      */
208 208
     public function setStacked($stacked)
209 209
     {
210
-        $this->stacked = ! ! $stacked;
210
+        $this->stacked = !!$stacked;
211 211
 
212 212
         return $this;
213 213
     }
Please login to merge, or discard this patch.
src/Options/Scales.php 1 patch
Indentation   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -16,63 +16,63 @@
 block discarded – undo
16 16
  */
17 17
 class Scales implements ArraySerializableInterface, \JsonSerializable
18 18
 {
19
-    use ArraySerializable;
19
+	use ArraySerializable;
20 20
 
21
-    /**
22
-     * @var XAxisCollection
23
-     */
24
-    private $xAxes;
21
+	/**
22
+	 * @var XAxisCollection
23
+	 */
24
+	private $xAxes;
25 25
 
26
-    /**
27
-     * @var YAxisCollection
28
-     */
29
-    private $yAxes;
26
+	/**
27
+	 * @var YAxisCollection
28
+	 */
29
+	private $yAxes;
30 30
 
31
-    /**
32
-     * @return XAxis
33
-     */
34
-    public function createXAxis()
35
-    {
36
-        return new XAxis();
37
-    }
31
+	/**
32
+	 * @return XAxis
33
+	 */
34
+	public function createXAxis()
35
+	{
36
+		return new XAxis();
37
+	}
38 38
 
39
-    /**
40
-     * @return YAxis
41
-     */
42
-    public function createYAxis()
43
-    {
44
-        return new YAxis();
45
-    }
39
+	/**
40
+	 * @return YAxis
41
+	 */
42
+	public function createYAxis()
43
+	{
44
+		return new YAxis();
45
+	}
46 46
 
47
-    /**
48
-     * @return XAxisCollection
49
-     */
50
-    public function getXAxes()
51
-    {
52
-        if (is_null($this->xAxes)) {
53
-            $this->xAxes = new XAxisCollection();
54
-        }
47
+	/**
48
+	 * @return XAxisCollection
49
+	 */
50
+	public function getXAxes()
51
+	{
52
+		if (is_null($this->xAxes)) {
53
+			$this->xAxes = new XAxisCollection();
54
+		}
55 55
 
56
-        return $this->xAxes;
57
-    }
56
+		return $this->xAxes;
57
+	}
58 58
 
59
-    /**
60
-     * @return YAxisCollection
61
-     */
62
-    public function getYAxes()
63
-    {
64
-        if (is_null($this->yAxes)) {
65
-            $this->yAxes = new YAxisCollection();
66
-        }
59
+	/**
60
+	 * @return YAxisCollection
61
+	 */
62
+	public function getYAxes()
63
+	{
64
+		if (is_null($this->yAxes)) {
65
+			$this->yAxes = new YAxisCollection();
66
+		}
67 67
 
68
-        return $this->yAxes;
69
-    }
68
+		return $this->yAxes;
69
+	}
70 70
 
71
-    /**
72
-     * @return string
73
-     */
74
-    public function jsonSerialize()
75
-    {
76
-        return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
77
-    }
71
+	/**
72
+	 * @return string
73
+	 */
74
+	public function jsonSerialize()
75
+	{
76
+		return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
77
+	}
78 78
 }
Please login to merge, or discard this patch.
src/Options/Animation/PieAnimation.php 1 patch
Indentation   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -10,53 +10,53 @@
 block discarded – undo
10 10
  */
11 11
 class PieAnimation extends Animation
12 12
 {
13
-    /**
14
-     * @var bool
15
-     */
16
-    private $animateRotate;
17
-
18
-    /**
19
-     * @var bool
20
-     */
21
-    private $animateScale;
22
-
23
-    /**
24
-     * @return boolean
25
-     */
26
-    public function isAnimateRotate()
27
-    {
28
-        return $this->animateRotate;
29
-    }
30
-
31
-    /**
32
-     * @param boolean $animateRotate
33
-     *
34
-     * @return PieAnimation
35
-     */
36
-    public function setAnimateRotate($animateRotate)
37
-    {
38
-        $this->animateRotate = $animateRotate;
39
-
40
-        return $this;
41
-    }
42
-
43
-    /**
44
-     * @return boolean
45
-     */
46
-    public function isAnimateScale()
47
-    {
48
-        return $this->animateScale;
49
-    }
50
-
51
-    /**
52
-     * @param boolean $animateScale
53
-     *
54
-     * @return PieAnimation
55
-     */
56
-    public function setAnimateScale($animateScale)
57
-    {
58
-        $this->animateScale = $animateScale;
59
-
60
-        return $this;
61
-    }
13
+	/**
14
+	 * @var bool
15
+	 */
16
+	private $animateRotate;
17
+
18
+	/**
19
+	 * @var bool
20
+	 */
21
+	private $animateScale;
22
+
23
+	/**
24
+	 * @return boolean
25
+	 */
26
+	public function isAnimateRotate()
27
+	{
28
+		return $this->animateRotate;
29
+	}
30
+
31
+	/**
32
+	 * @param boolean $animateRotate
33
+	 *
34
+	 * @return PieAnimation
35
+	 */
36
+	public function setAnimateRotate($animateRotate)
37
+	{
38
+		$this->animateRotate = $animateRotate;
39
+
40
+		return $this;
41
+	}
42
+
43
+	/**
44
+	 * @return boolean
45
+	 */
46
+	public function isAnimateScale()
47
+	{
48
+		return $this->animateScale;
49
+	}
50
+
51
+	/**
52
+	 * @param boolean $animateScale
53
+	 *
54
+	 * @return PieAnimation
55
+	 */
56
+	public function setAnimateScale($animateScale)
57
+	{
58
+		$this->animateScale = $animateScale;
59
+
60
+		return $this;
61
+	}
62 62
 }
Please login to merge, or discard this patch.
src/Options/Tooltips.php 2 patches
Indentation   +801 added lines, -801 removed lines patch added patch discarded remove patch
@@ -14,805 +14,805 @@
 block discarded – undo
14 14
  */
15 15
 class Tooltips implements ArraySerializableInterface, \JsonSerializable
16 16
 {
17
-    use ArraySerializable;
18
-
19
-    /**
20
-     * @var bool
21
-     */
22
-    private $enabled;
23
-
24
-    /**
25
-     * @var Expr
26
-     */
27
-    private $custom;
28
-
29
-    /**
30
-     * @var string
31
-     */
32
-    private $mode;
33
-
34
-    /**
35
-     * @var bool
36
-     */
37
-    private $intersect;
38
-
39
-    /**
40
-     * @var string
41
-     */
42
-    private $position;
43
-
44
-    /**
45
-     * @var Expr
46
-     */
47
-    private $itemSort;
48
-
49
-    /**
50
-     * @var Expr
51
-     */
52
-    private $filter;
53
-
54
-    /**
55
-     * @var string
56
-     */
57
-    private $backgroundColor;
58
-
59
-    /**
60
-     * @var string
61
-     */
62
-    private $titleFontFamily;
63
-
64
-    /**
65
-     * @var int
66
-     */
67
-    private $titleFontSize;
68
-
69
-    /**
70
-     * @var string
71
-     */
72
-    private $titleFontStyle;
73
-
74
-    /**
75
-     * @var string
76
-     */
77
-    private $titleFontColor;
78
-
79
-    /**
80
-     * @var int
81
-     */
82
-    private $titleSpacing;
83
-
84
-    /**
85
-     * @var int
86
-     */
87
-    private $titleMarginBottom;
88
-
89
-    /**
90
-     * @var string
91
-     */
92
-    private $bodyFontFamily;
93
-
94
-    /**
95
-     * @var int
96
-     */
97
-    private $bodyFontSize;
98
-
99
-    /**
100
-     * @var string
101
-     */
102
-    private $bodyFontStyle;
103
-
104
-    /**
105
-     * @var string
106
-     */
107
-    private $bodyFontColor;
108
-
109
-    /**
110
-     * @var int
111
-     */
112
-    private $bodySpacing;
113
-
114
-    /**
115
-     * @var string
116
-     */
117
-    private $footerFontFamily;
118
-
119
-    /**
120
-     * @var int
121
-     */
122
-    private $footerFontSize;
123
-
124
-    /**
125
-     * @var string
126
-     */
127
-    private $footerFontStyle;
128
-
129
-    /**
130
-     * @var string
131
-     */
132
-    private $footerFontColor;
133
-
134
-    /**
135
-     * @var int
136
-     */
137
-    private $footerSpacing;
138
-
139
-    /**
140
-     * @var int
141
-     */
142
-    private $footerMarginTop;
143
-
144
-    /**
145
-     * @var int
146
-     */
147
-    private $xPadding;
148
-
149
-    /**
150
-     * @var int
151
-     */
152
-    private $yPadding;
153
-
154
-    /**
155
-     * @var int
156
-     */
157
-    private $caretSize;
158
-
159
-    /**
160
-     * @var int
161
-     */
162
-    private $cornerRadius;
163
-
164
-    /**
165
-     * @var string
166
-     */
167
-    private $multiKeyBackground;
168
-
169
-    /**
170
-     * @var bool
171
-     */
172
-    private $displayColors;
173
-
174
-    /**
175
-     * @var Callbacks
176
-     */
177
-    private $callbacks;
178
-
179
-    /**
180
-     * @return boolean
181
-     */
182
-    public function isEnabled()
183
-    {
184
-        return $this->enabled;
185
-    }
186
-
187
-    /**
188
-     * @param boolean $enabled
189
-     *
190
-     * @return $this
191
-     */
192
-    public function setEnabled($enabled)
193
-    {
194
-        $this->enabled = ! ! $enabled;
195
-
196
-        return $this;
197
-    }
198
-
199
-    /**
200
-     * @return \Zend\Json\Expr
201
-     */
202
-    public function getCustom()
203
-    {
204
-        return $this->custom;
205
-    }
206
-
207
-    /**
208
-     * @param \Zend\Json\Expr $custom
209
-     *
210
-     * @return $this
211
-     */
212
-    public function setCustom($custom)
213
-    {
214
-        $this->custom = $custom;
215
-
216
-        return $this;
217
-    }
218
-
219
-    /**
220
-     * @return string
221
-     */
222
-    public function getMode()
223
-    {
224
-        return $this->mode;
225
-    }
226
-
227
-    /**
228
-     * @param string $mode
229
-     *
230
-     * @return $this
231
-     */
232
-    public function setMode($mode)
233
-    {
234
-        $this->mode = strval($mode);
235
-
236
-        return $this;
237
-    }
238
-
239
-    /**
240
-     * @return boolean
241
-     */
242
-    public function isIntersect()
243
-    {
244
-        return $this->intersect;
245
-    }
246
-
247
-    /**
248
-     * @param boolean $intersect
249
-     *
250
-     * @return $this
251
-     */
252
-    public function setIntersect($intersect)
253
-    {
254
-        $this->intersect = ! ! $intersect;
255
-
256
-        return $this;
257
-    }
258
-
259
-    /**
260
-     * @return string
261
-     */
262
-    public function getPosition()
263
-    {
264
-        return $this->position;
265
-    }
266
-
267
-    /**
268
-     * @param string $position
269
-     *
270
-     * @return $this
271
-     */
272
-    public function setPosition($position)
273
-    {
274
-        $this->position = strval($position);
275
-
276
-        return $this;
277
-    }
278
-
279
-    /**
280
-     * @return Expr
281
-     */
282
-    public function getItemSort()
283
-    {
284
-        return $this->itemSort;
285
-    }
286
-
287
-    /**
288
-     * @param Expr $itemSort
289
-     *
290
-     * @return $this
291
-     */
292
-    public function setItemSort($itemSort)
293
-    {
294
-        $this->itemSort = new Expr(strval($itemSort));
295
-
296
-        return $this;
297
-    }
298
-
299
-    /**
300
-     * @return Expr
301
-     */
302
-    public function getFilter()
303
-    {
304
-        return $this->filter;
305
-    }
306
-
307
-    /**
308
-     * @param Expr $filter
309
-     *
310
-     * @return $this
311
-     */
312
-    public function setFilter($filter)
313
-    {
314
-        $this->filter = new Expr(strval($filter));
315
-
316
-        return $this;
317
-    }
318
-
319
-    /**
320
-     * @return string
321
-     */
322
-    public function getBackgroundColor()
323
-    {
324
-        return $this->backgroundColor;
325
-    }
326
-
327
-    /**
328
-     * @param string $backgroundColor
329
-     *
330
-     * @return $this
331
-     */
332
-    public function setBackgroundColor($backgroundColor)
333
-    {
334
-        $this->backgroundColor = strval($backgroundColor);
335
-
336
-        return $this;
337
-    }
338
-
339
-    /**
340
-     * @return string
341
-     */
342
-    public function getTitleFontFamily()
343
-    {
344
-        return $this->titleFontFamily;
345
-    }
346
-
347
-    /**
348
-     * @param string $titleFontFamily
349
-     *
350
-     * @return $this
351
-     */
352
-    public function setTitleFontFamily($titleFontFamily)
353
-    {
354
-        $this->titleFontFamily = strval($titleFontFamily);
355
-
356
-        return $this;
357
-    }
358
-
359
-    /**
360
-     * @return int
361
-     */
362
-    public function getTitleFontSize()
363
-    {
364
-        return $this->titleFontSize;
365
-    }
366
-
367
-    /**
368
-     * @param int $titleFontSize
369
-     *
370
-     * @return $this
371
-     */
372
-    public function setTitleFontSize($titleFontSize)
373
-    {
374
-        $this->titleFontSize = intval($titleFontSize);
375
-
376
-        return $this;
377
-    }
378
-
379
-    /**
380
-     * @return string
381
-     */
382
-    public function getTitleFontStyle()
383
-    {
384
-        return $this->titleFontStyle;
385
-    }
386
-
387
-    /**
388
-     * @param string $titleFontStyle
389
-     *
390
-     * @return $this
391
-     */
392
-    public function setTitleFontStyle($titleFontStyle)
393
-    {
394
-        $this->titleFontStyle = strval($titleFontStyle);
395
-
396
-        return $this;
397
-    }
398
-
399
-    /**
400
-     * @return string
401
-     */
402
-    public function getTitleFontColor()
403
-    {
404
-        return $this->titleFontColor;
405
-    }
406
-
407
-    /**
408
-     * @param string $titleFontColor
409
-     *
410
-     * @return $this
411
-     */
412
-    public function setTitleFontColor($titleFontColor)
413
-    {
414
-        $this->titleFontColor = strval($titleFontColor);
415
-
416
-        return $this;
417
-    }
418
-
419
-    /**
420
-     * @return int
421
-     */
422
-    public function getTitleSpacing()
423
-    {
424
-        return $this->titleSpacing;
425
-    }
426
-
427
-    /**
428
-     * @param int $titleSpacing
429
-     *
430
-     * @return $this
431
-     */
432
-    public function setTitleSpacing($titleSpacing)
433
-    {
434
-        $this->titleSpacing = intval($titleSpacing);
435
-
436
-        return $this;
437
-    }
438
-
439
-    /**
440
-     * @return int
441
-     */
442
-    public function getTitleMarginBottom()
443
-    {
444
-        return $this->titleMarginBottom;
445
-    }
446
-
447
-    /**
448
-     * @param int $titleMarginBottom
449
-     *
450
-     * @return $this
451
-     */
452
-    public function setTitleMarginBottom($titleMarginBottom)
453
-    {
454
-        $this->titleMarginBottom = intval($titleMarginBottom);
455
-
456
-        return $this;
457
-    }
458
-
459
-    /**
460
-     * @return string
461
-     */
462
-    public function getBodyFontFamily()
463
-    {
464
-        return $this->bodyFontFamily;
465
-    }
466
-
467
-    /**
468
-     * @param string $bodyFontFamily
469
-     *
470
-     * @return $this
471
-     */
472
-    public function setBodyFontFamily($bodyFontFamily)
473
-    {
474
-        $this->bodyFontFamily = strval($bodyFontFamily);
475
-
476
-        return $this;
477
-    }
478
-
479
-    /**
480
-     * @return int
481
-     */
482
-    public function getBodyFontSize()
483
-    {
484
-        return $this->bodyFontSize;
485
-    }
486
-
487
-    /**
488
-     * @param int $bodyFontSize
489
-     *
490
-     * @return $this
491
-     */
492
-    public function setBodyFontSize($bodyFontSize)
493
-    {
494
-        $this->bodyFontSize = intval($bodyFontSize);
495
-
496
-        return $this;
497
-    }
498
-
499
-    /**
500
-     * @return string
501
-     */
502
-    public function getBodyFontStyle()
503
-    {
504
-        return $this->bodyFontStyle;
505
-    }
506
-
507
-    /**
508
-     * @param string $bodyFontStyle
509
-     *
510
-     * @return $this
511
-     */
512
-    public function setBodyFontStyle($bodyFontStyle)
513
-    {
514
-        $this->bodyFontStyle = strval($bodyFontStyle);
515
-
516
-        return $this;
517
-    }
518
-
519
-    /**
520
-     * @return string
521
-     */
522
-    public function getBodyFontColor()
523
-    {
524
-        return $this->bodyFontColor;
525
-    }
526
-
527
-    /**
528
-     * @param string $bodyFontColor
529
-     *
530
-     * @return $this
531
-     */
532
-    public function setBodyFontColor($bodyFontColor)
533
-    {
534
-        $this->bodyFontColor = strval($bodyFontColor);
535
-
536
-        return $this;
537
-    }
538
-
539
-    /**
540
-     * @return int
541
-     */
542
-    public function getBodySpacing()
543
-    {
544
-        return $this->bodySpacing;
545
-    }
546
-
547
-    /**
548
-     * @param int $bodySpacing
549
-     *
550
-     * @return $this
551
-     */
552
-    public function setBodySpacing($bodySpacing)
553
-    {
554
-        $this->bodySpacing = intval($bodySpacing);
555
-
556
-        return $this;
557
-    }
558
-
559
-    /**
560
-     * @return string
561
-     */
562
-    public function getFooterFontFamily()
563
-    {
564
-        return $this->footerFontFamily;
565
-    }
566
-
567
-    /**
568
-     * @param string $footerFontFamily
569
-     *
570
-     * @return $this
571
-     */
572
-    public function setFooterFontFamily($footerFontFamily)
573
-    {
574
-        $this->footerFontFamily = strval($footerFontFamily);
575
-
576
-        return $this;
577
-    }
578
-
579
-    /**
580
-     * @return int
581
-     */
582
-    public function getFooterFontSize()
583
-    {
584
-        return $this->footerFontSize;
585
-    }
586
-
587
-    /**
588
-     * @param int $footerFontSize
589
-     *
590
-     * @return $this
591
-     */
592
-    public function setFooterFontSize($footerFontSize)
593
-    {
594
-        $this->footerFontSize = intval($footerFontSize);
595
-
596
-        return $this;
597
-    }
598
-
599
-    /**
600
-     * @return string
601
-     */
602
-    public function getFooterFontStyle()
603
-    {
604
-        return $this->footerFontStyle;
605
-    }
606
-
607
-    /**
608
-     * @param string $footerFontStyle
609
-     *
610
-     * @return $this
611
-     */
612
-    public function setFooterFontStyle($footerFontStyle)
613
-    {
614
-        $this->footerFontStyle = strval($footerFontStyle);
615
-
616
-        return $this;
617
-    }
618
-
619
-    /**
620
-     * @return string
621
-     */
622
-    public function getFooterFontColor()
623
-    {
624
-        return $this->footerFontColor;
625
-    }
626
-
627
-    /**
628
-     * @param string $footerFontColor
629
-     *
630
-     * @return $this
631
-     */
632
-    public function setFooterFontColor($footerFontColor)
633
-    {
634
-        $this->footerFontColor = strval($footerFontColor);
635
-
636
-        return $this;
637
-    }
638
-
639
-    /**
640
-     * @return int
641
-     */
642
-    public function getFooterSpacing()
643
-    {
644
-        return $this->footerSpacing;
645
-    }
646
-
647
-    /**
648
-     * @param int $footerSpacing
649
-     *
650
-     * @return $this
651
-     */
652
-    public function setFooterSpacing($footerSpacing)
653
-    {
654
-        $this->footerSpacing = intval($footerSpacing);
655
-
656
-        return $this;
657
-    }
658
-
659
-    /**
660
-     * @return int
661
-     */
662
-    public function getFooterMarginTop()
663
-    {
664
-        return $this->footerMarginTop;
665
-    }
666
-
667
-    /**
668
-     * @param int $footerMarginTop
669
-     *
670
-     * @return $this
671
-     */
672
-    public function setFooterMarginTop($footerMarginTop)
673
-    {
674
-        $this->footerMarginTop = intval($footerMarginTop);
675
-
676
-        return $this;
677
-    }
678
-
679
-    /**
680
-     * @return int
681
-     */
682
-    public function getXPadding()
683
-    {
684
-        return $this->xPadding;
685
-    }
686
-
687
-    /**
688
-     * @param int $xPadding
689
-     *
690
-     * @return $this
691
-     */
692
-    public function setXPadding($xPadding)
693
-    {
694
-        $this->xPadding = intval($xPadding);
695
-
696
-        return $this;
697
-    }
698
-
699
-    /**
700
-     * @return int
701
-     */
702
-    public function getYPadding()
703
-    {
704
-        return $this->yPadding;
705
-    }
706
-
707
-    /**
708
-     * @param int $yPadding
709
-     *
710
-     * @return $this
711
-     */
712
-    public function setYPadding($yPadding)
713
-    {
714
-        $this->yPadding = intval($yPadding);
715
-
716
-        return $this;
717
-    }
718
-
719
-    /**
720
-     * @return int
721
-     */
722
-    public function getCaretSize()
723
-    {
724
-        return $this->caretSize;
725
-    }
726
-
727
-    /**
728
-     * @param int $caretSize
729
-     *
730
-     * @return $this
731
-     */
732
-    public function setCaretSize($caretSize)
733
-    {
734
-        $this->caretSize = intval($caretSize);
735
-
736
-        return $this;
737
-    }
738
-
739
-    /**
740
-     * @return int
741
-     */
742
-    public function getCornerRadius()
743
-    {
744
-        return $this->cornerRadius;
745
-    }
746
-
747
-    /**
748
-     * @param int $cornerRadius
749
-     *
750
-     * @return $this
751
-     */
752
-    public function setCornerRadius($cornerRadius)
753
-    {
754
-        $this->cornerRadius = intval($cornerRadius);
755
-
756
-        return $this;
757
-    }
758
-
759
-    /**
760
-     * @return string
761
-     */
762
-    public function getMultiKeyBackground()
763
-    {
764
-        return $this->multiKeyBackground;
765
-    }
766
-
767
-    /**
768
-     * @param string $multiKeyBackground
769
-     *
770
-     * @return $this
771
-     */
772
-    public function setMultiKeyBackground($multiKeyBackground)
773
-    {
774
-        $this->multiKeyBackground = strval($multiKeyBackground);
775
-
776
-        return $this;
777
-    }
778
-
779
-    /**
780
-     * @return boolean
781
-     */
782
-    public function isDisplayColors()
783
-    {
784
-        return $this->displayColors;
785
-    }
786
-
787
-    /**
788
-     * @param boolean $displayColors
789
-     *
790
-     * @return $this
791
-     */
792
-    public function setDisplayColors($displayColors)
793
-    {
794
-        $this->displayColors = ! ! $displayColors;
795
-
796
-        return $this;
797
-    }
798
-
799
-    /**
800
-     * @return Callbacks
801
-     */
802
-    public function callbacks()
803
-    {
804
-        if (is_null($this->callbacks)) {
805
-            $this->callbacks = new Callbacks();
806
-        }
807
-
808
-        return $this->callbacks;
809
-    }
810
-
811
-    /**
812
-     * @return mixed
813
-     */
814
-    public function jsonSerialize()
815
-    {
816
-        return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
817
-    }
17
+	use ArraySerializable;
18
+
19
+	/**
20
+	 * @var bool
21
+	 */
22
+	private $enabled;
23
+
24
+	/**
25
+	 * @var Expr
26
+	 */
27
+	private $custom;
28
+
29
+	/**
30
+	 * @var string
31
+	 */
32
+	private $mode;
33
+
34
+	/**
35
+	 * @var bool
36
+	 */
37
+	private $intersect;
38
+
39
+	/**
40
+	 * @var string
41
+	 */
42
+	private $position;
43
+
44
+	/**
45
+	 * @var Expr
46
+	 */
47
+	private $itemSort;
48
+
49
+	/**
50
+	 * @var Expr
51
+	 */
52
+	private $filter;
53
+
54
+	/**
55
+	 * @var string
56
+	 */
57
+	private $backgroundColor;
58
+
59
+	/**
60
+	 * @var string
61
+	 */
62
+	private $titleFontFamily;
63
+
64
+	/**
65
+	 * @var int
66
+	 */
67
+	private $titleFontSize;
68
+
69
+	/**
70
+	 * @var string
71
+	 */
72
+	private $titleFontStyle;
73
+
74
+	/**
75
+	 * @var string
76
+	 */
77
+	private $titleFontColor;
78
+
79
+	/**
80
+	 * @var int
81
+	 */
82
+	private $titleSpacing;
83
+
84
+	/**
85
+	 * @var int
86
+	 */
87
+	private $titleMarginBottom;
88
+
89
+	/**
90
+	 * @var string
91
+	 */
92
+	private $bodyFontFamily;
93
+
94
+	/**
95
+	 * @var int
96
+	 */
97
+	private $bodyFontSize;
98
+
99
+	/**
100
+	 * @var string
101
+	 */
102
+	private $bodyFontStyle;
103
+
104
+	/**
105
+	 * @var string
106
+	 */
107
+	private $bodyFontColor;
108
+
109
+	/**
110
+	 * @var int
111
+	 */
112
+	private $bodySpacing;
113
+
114
+	/**
115
+	 * @var string
116
+	 */
117
+	private $footerFontFamily;
118
+
119
+	/**
120
+	 * @var int
121
+	 */
122
+	private $footerFontSize;
123
+
124
+	/**
125
+	 * @var string
126
+	 */
127
+	private $footerFontStyle;
128
+
129
+	/**
130
+	 * @var string
131
+	 */
132
+	private $footerFontColor;
133
+
134
+	/**
135
+	 * @var int
136
+	 */
137
+	private $footerSpacing;
138
+
139
+	/**
140
+	 * @var int
141
+	 */
142
+	private $footerMarginTop;
143
+
144
+	/**
145
+	 * @var int
146
+	 */
147
+	private $xPadding;
148
+
149
+	/**
150
+	 * @var int
151
+	 */
152
+	private $yPadding;
153
+
154
+	/**
155
+	 * @var int
156
+	 */
157
+	private $caretSize;
158
+
159
+	/**
160
+	 * @var int
161
+	 */
162
+	private $cornerRadius;
163
+
164
+	/**
165
+	 * @var string
166
+	 */
167
+	private $multiKeyBackground;
168
+
169
+	/**
170
+	 * @var bool
171
+	 */
172
+	private $displayColors;
173
+
174
+	/**
175
+	 * @var Callbacks
176
+	 */
177
+	private $callbacks;
178
+
179
+	/**
180
+	 * @return boolean
181
+	 */
182
+	public function isEnabled()
183
+	{
184
+		return $this->enabled;
185
+	}
186
+
187
+	/**
188
+	 * @param boolean $enabled
189
+	 *
190
+	 * @return $this
191
+	 */
192
+	public function setEnabled($enabled)
193
+	{
194
+		$this->enabled = ! ! $enabled;
195
+
196
+		return $this;
197
+	}
198
+
199
+	/**
200
+	 * @return \Zend\Json\Expr
201
+	 */
202
+	public function getCustom()
203
+	{
204
+		return $this->custom;
205
+	}
206
+
207
+	/**
208
+	 * @param \Zend\Json\Expr $custom
209
+	 *
210
+	 * @return $this
211
+	 */
212
+	public function setCustom($custom)
213
+	{
214
+		$this->custom = $custom;
215
+
216
+		return $this;
217
+	}
218
+
219
+	/**
220
+	 * @return string
221
+	 */
222
+	public function getMode()
223
+	{
224
+		return $this->mode;
225
+	}
226
+
227
+	/**
228
+	 * @param string $mode
229
+	 *
230
+	 * @return $this
231
+	 */
232
+	public function setMode($mode)
233
+	{
234
+		$this->mode = strval($mode);
235
+
236
+		return $this;
237
+	}
238
+
239
+	/**
240
+	 * @return boolean
241
+	 */
242
+	public function isIntersect()
243
+	{
244
+		return $this->intersect;
245
+	}
246
+
247
+	/**
248
+	 * @param boolean $intersect
249
+	 *
250
+	 * @return $this
251
+	 */
252
+	public function setIntersect($intersect)
253
+	{
254
+		$this->intersect = ! ! $intersect;
255
+
256
+		return $this;
257
+	}
258
+
259
+	/**
260
+	 * @return string
261
+	 */
262
+	public function getPosition()
263
+	{
264
+		return $this->position;
265
+	}
266
+
267
+	/**
268
+	 * @param string $position
269
+	 *
270
+	 * @return $this
271
+	 */
272
+	public function setPosition($position)
273
+	{
274
+		$this->position = strval($position);
275
+
276
+		return $this;
277
+	}
278
+
279
+	/**
280
+	 * @return Expr
281
+	 */
282
+	public function getItemSort()
283
+	{
284
+		return $this->itemSort;
285
+	}
286
+
287
+	/**
288
+	 * @param Expr $itemSort
289
+	 *
290
+	 * @return $this
291
+	 */
292
+	public function setItemSort($itemSort)
293
+	{
294
+		$this->itemSort = new Expr(strval($itemSort));
295
+
296
+		return $this;
297
+	}
298
+
299
+	/**
300
+	 * @return Expr
301
+	 */
302
+	public function getFilter()
303
+	{
304
+		return $this->filter;
305
+	}
306
+
307
+	/**
308
+	 * @param Expr $filter
309
+	 *
310
+	 * @return $this
311
+	 */
312
+	public function setFilter($filter)
313
+	{
314
+		$this->filter = new Expr(strval($filter));
315
+
316
+		return $this;
317
+	}
318
+
319
+	/**
320
+	 * @return string
321
+	 */
322
+	public function getBackgroundColor()
323
+	{
324
+		return $this->backgroundColor;
325
+	}
326
+
327
+	/**
328
+	 * @param string $backgroundColor
329
+	 *
330
+	 * @return $this
331
+	 */
332
+	public function setBackgroundColor($backgroundColor)
333
+	{
334
+		$this->backgroundColor = strval($backgroundColor);
335
+
336
+		return $this;
337
+	}
338
+
339
+	/**
340
+	 * @return string
341
+	 */
342
+	public function getTitleFontFamily()
343
+	{
344
+		return $this->titleFontFamily;
345
+	}
346
+
347
+	/**
348
+	 * @param string $titleFontFamily
349
+	 *
350
+	 * @return $this
351
+	 */
352
+	public function setTitleFontFamily($titleFontFamily)
353
+	{
354
+		$this->titleFontFamily = strval($titleFontFamily);
355
+
356
+		return $this;
357
+	}
358
+
359
+	/**
360
+	 * @return int
361
+	 */
362
+	public function getTitleFontSize()
363
+	{
364
+		return $this->titleFontSize;
365
+	}
366
+
367
+	/**
368
+	 * @param int $titleFontSize
369
+	 *
370
+	 * @return $this
371
+	 */
372
+	public function setTitleFontSize($titleFontSize)
373
+	{
374
+		$this->titleFontSize = intval($titleFontSize);
375
+
376
+		return $this;
377
+	}
378
+
379
+	/**
380
+	 * @return string
381
+	 */
382
+	public function getTitleFontStyle()
383
+	{
384
+		return $this->titleFontStyle;
385
+	}
386
+
387
+	/**
388
+	 * @param string $titleFontStyle
389
+	 *
390
+	 * @return $this
391
+	 */
392
+	public function setTitleFontStyle($titleFontStyle)
393
+	{
394
+		$this->titleFontStyle = strval($titleFontStyle);
395
+
396
+		return $this;
397
+	}
398
+
399
+	/**
400
+	 * @return string
401
+	 */
402
+	public function getTitleFontColor()
403
+	{
404
+		return $this->titleFontColor;
405
+	}
406
+
407
+	/**
408
+	 * @param string $titleFontColor
409
+	 *
410
+	 * @return $this
411
+	 */
412
+	public function setTitleFontColor($titleFontColor)
413
+	{
414
+		$this->titleFontColor = strval($titleFontColor);
415
+
416
+		return $this;
417
+	}
418
+
419
+	/**
420
+	 * @return int
421
+	 */
422
+	public function getTitleSpacing()
423
+	{
424
+		return $this->titleSpacing;
425
+	}
426
+
427
+	/**
428
+	 * @param int $titleSpacing
429
+	 *
430
+	 * @return $this
431
+	 */
432
+	public function setTitleSpacing($titleSpacing)
433
+	{
434
+		$this->titleSpacing = intval($titleSpacing);
435
+
436
+		return $this;
437
+	}
438
+
439
+	/**
440
+	 * @return int
441
+	 */
442
+	public function getTitleMarginBottom()
443
+	{
444
+		return $this->titleMarginBottom;
445
+	}
446
+
447
+	/**
448
+	 * @param int $titleMarginBottom
449
+	 *
450
+	 * @return $this
451
+	 */
452
+	public function setTitleMarginBottom($titleMarginBottom)
453
+	{
454
+		$this->titleMarginBottom = intval($titleMarginBottom);
455
+
456
+		return $this;
457
+	}
458
+
459
+	/**
460
+	 * @return string
461
+	 */
462
+	public function getBodyFontFamily()
463
+	{
464
+		return $this->bodyFontFamily;
465
+	}
466
+
467
+	/**
468
+	 * @param string $bodyFontFamily
469
+	 *
470
+	 * @return $this
471
+	 */
472
+	public function setBodyFontFamily($bodyFontFamily)
473
+	{
474
+		$this->bodyFontFamily = strval($bodyFontFamily);
475
+
476
+		return $this;
477
+	}
478
+
479
+	/**
480
+	 * @return int
481
+	 */
482
+	public function getBodyFontSize()
483
+	{
484
+		return $this->bodyFontSize;
485
+	}
486
+
487
+	/**
488
+	 * @param int $bodyFontSize
489
+	 *
490
+	 * @return $this
491
+	 */
492
+	public function setBodyFontSize($bodyFontSize)
493
+	{
494
+		$this->bodyFontSize = intval($bodyFontSize);
495
+
496
+		return $this;
497
+	}
498
+
499
+	/**
500
+	 * @return string
501
+	 */
502
+	public function getBodyFontStyle()
503
+	{
504
+		return $this->bodyFontStyle;
505
+	}
506
+
507
+	/**
508
+	 * @param string $bodyFontStyle
509
+	 *
510
+	 * @return $this
511
+	 */
512
+	public function setBodyFontStyle($bodyFontStyle)
513
+	{
514
+		$this->bodyFontStyle = strval($bodyFontStyle);
515
+
516
+		return $this;
517
+	}
518
+
519
+	/**
520
+	 * @return string
521
+	 */
522
+	public function getBodyFontColor()
523
+	{
524
+		return $this->bodyFontColor;
525
+	}
526
+
527
+	/**
528
+	 * @param string $bodyFontColor
529
+	 *
530
+	 * @return $this
531
+	 */
532
+	public function setBodyFontColor($bodyFontColor)
533
+	{
534
+		$this->bodyFontColor = strval($bodyFontColor);
535
+
536
+		return $this;
537
+	}
538
+
539
+	/**
540
+	 * @return int
541
+	 */
542
+	public function getBodySpacing()
543
+	{
544
+		return $this->bodySpacing;
545
+	}
546
+
547
+	/**
548
+	 * @param int $bodySpacing
549
+	 *
550
+	 * @return $this
551
+	 */
552
+	public function setBodySpacing($bodySpacing)
553
+	{
554
+		$this->bodySpacing = intval($bodySpacing);
555
+
556
+		return $this;
557
+	}
558
+
559
+	/**
560
+	 * @return string
561
+	 */
562
+	public function getFooterFontFamily()
563
+	{
564
+		return $this->footerFontFamily;
565
+	}
566
+
567
+	/**
568
+	 * @param string $footerFontFamily
569
+	 *
570
+	 * @return $this
571
+	 */
572
+	public function setFooterFontFamily($footerFontFamily)
573
+	{
574
+		$this->footerFontFamily = strval($footerFontFamily);
575
+
576
+		return $this;
577
+	}
578
+
579
+	/**
580
+	 * @return int
581
+	 */
582
+	public function getFooterFontSize()
583
+	{
584
+		return $this->footerFontSize;
585
+	}
586
+
587
+	/**
588
+	 * @param int $footerFontSize
589
+	 *
590
+	 * @return $this
591
+	 */
592
+	public function setFooterFontSize($footerFontSize)
593
+	{
594
+		$this->footerFontSize = intval($footerFontSize);
595
+
596
+		return $this;
597
+	}
598
+
599
+	/**
600
+	 * @return string
601
+	 */
602
+	public function getFooterFontStyle()
603
+	{
604
+		return $this->footerFontStyle;
605
+	}
606
+
607
+	/**
608
+	 * @param string $footerFontStyle
609
+	 *
610
+	 * @return $this
611
+	 */
612
+	public function setFooterFontStyle($footerFontStyle)
613
+	{
614
+		$this->footerFontStyle = strval($footerFontStyle);
615
+
616
+		return $this;
617
+	}
618
+
619
+	/**
620
+	 * @return string
621
+	 */
622
+	public function getFooterFontColor()
623
+	{
624
+		return $this->footerFontColor;
625
+	}
626
+
627
+	/**
628
+	 * @param string $footerFontColor
629
+	 *
630
+	 * @return $this
631
+	 */
632
+	public function setFooterFontColor($footerFontColor)
633
+	{
634
+		$this->footerFontColor = strval($footerFontColor);
635
+
636
+		return $this;
637
+	}
638
+
639
+	/**
640
+	 * @return int
641
+	 */
642
+	public function getFooterSpacing()
643
+	{
644
+		return $this->footerSpacing;
645
+	}
646
+
647
+	/**
648
+	 * @param int $footerSpacing
649
+	 *
650
+	 * @return $this
651
+	 */
652
+	public function setFooterSpacing($footerSpacing)
653
+	{
654
+		$this->footerSpacing = intval($footerSpacing);
655
+
656
+		return $this;
657
+	}
658
+
659
+	/**
660
+	 * @return int
661
+	 */
662
+	public function getFooterMarginTop()
663
+	{
664
+		return $this->footerMarginTop;
665
+	}
666
+
667
+	/**
668
+	 * @param int $footerMarginTop
669
+	 *
670
+	 * @return $this
671
+	 */
672
+	public function setFooterMarginTop($footerMarginTop)
673
+	{
674
+		$this->footerMarginTop = intval($footerMarginTop);
675
+
676
+		return $this;
677
+	}
678
+
679
+	/**
680
+	 * @return int
681
+	 */
682
+	public function getXPadding()
683
+	{
684
+		return $this->xPadding;
685
+	}
686
+
687
+	/**
688
+	 * @param int $xPadding
689
+	 *
690
+	 * @return $this
691
+	 */
692
+	public function setXPadding($xPadding)
693
+	{
694
+		$this->xPadding = intval($xPadding);
695
+
696
+		return $this;
697
+	}
698
+
699
+	/**
700
+	 * @return int
701
+	 */
702
+	public function getYPadding()
703
+	{
704
+		return $this->yPadding;
705
+	}
706
+
707
+	/**
708
+	 * @param int $yPadding
709
+	 *
710
+	 * @return $this
711
+	 */
712
+	public function setYPadding($yPadding)
713
+	{
714
+		$this->yPadding = intval($yPadding);
715
+
716
+		return $this;
717
+	}
718
+
719
+	/**
720
+	 * @return int
721
+	 */
722
+	public function getCaretSize()
723
+	{
724
+		return $this->caretSize;
725
+	}
726
+
727
+	/**
728
+	 * @param int $caretSize
729
+	 *
730
+	 * @return $this
731
+	 */
732
+	public function setCaretSize($caretSize)
733
+	{
734
+		$this->caretSize = intval($caretSize);
735
+
736
+		return $this;
737
+	}
738
+
739
+	/**
740
+	 * @return int
741
+	 */
742
+	public function getCornerRadius()
743
+	{
744
+		return $this->cornerRadius;
745
+	}
746
+
747
+	/**
748
+	 * @param int $cornerRadius
749
+	 *
750
+	 * @return $this
751
+	 */
752
+	public function setCornerRadius($cornerRadius)
753
+	{
754
+		$this->cornerRadius = intval($cornerRadius);
755
+
756
+		return $this;
757
+	}
758
+
759
+	/**
760
+	 * @return string
761
+	 */
762
+	public function getMultiKeyBackground()
763
+	{
764
+		return $this->multiKeyBackground;
765
+	}
766
+
767
+	/**
768
+	 * @param string $multiKeyBackground
769
+	 *
770
+	 * @return $this
771
+	 */
772
+	public function setMultiKeyBackground($multiKeyBackground)
773
+	{
774
+		$this->multiKeyBackground = strval($multiKeyBackground);
775
+
776
+		return $this;
777
+	}
778
+
779
+	/**
780
+	 * @return boolean
781
+	 */
782
+	public function isDisplayColors()
783
+	{
784
+		return $this->displayColors;
785
+	}
786
+
787
+	/**
788
+	 * @param boolean $displayColors
789
+	 *
790
+	 * @return $this
791
+	 */
792
+	public function setDisplayColors($displayColors)
793
+	{
794
+		$this->displayColors = ! ! $displayColors;
795
+
796
+		return $this;
797
+	}
798
+
799
+	/**
800
+	 * @return Callbacks
801
+	 */
802
+	public function callbacks()
803
+	{
804
+		if (is_null($this->callbacks)) {
805
+			$this->callbacks = new Callbacks();
806
+		}
807
+
808
+		return $this->callbacks;
809
+	}
810
+
811
+	/**
812
+	 * @return mixed
813
+	 */
814
+	public function jsonSerialize()
815
+	{
816
+		return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
817
+	}
818 818
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      */
192 192
     public function setEnabled($enabled)
193 193
     {
194
-        $this->enabled = ! ! $enabled;
194
+        $this->enabled = !!$enabled;
195 195
 
196 196
         return $this;
197 197
     }
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      */
252 252
     public function setIntersect($intersect)
253 253
     {
254
-        $this->intersect = ! ! $intersect;
254
+        $this->intersect = !!$intersect;
255 255
 
256 256
         return $this;
257 257
     }
@@ -791,7 +791,7 @@  discard block
 block discarded – undo
791 791
      */
792 792
     public function setDisplayColors($displayColors)
793 793
     {
794
-        $this->displayColors = ! ! $displayColors;
794
+        $this->displayColors = !!$displayColors;
795 795
 
796 796
         return $this;
797 797
     }
Please login to merge, or discard this patch.
src/Options/Title.php 2 patches
Indentation   +234 added lines, -234 removed lines patch added patch discarded remove patch
@@ -12,238 +12,238 @@
 block discarded – undo
12 12
  */
13 13
 class Title implements ArraySerializableInterface, \JsonSerializable
14 14
 {
15
-    use ArraySerializable;
16
-
17
-    /**
18
-     * @var bool
19
-     */
20
-    private $display;
21
-
22
-    /**
23
-     * @var string
24
-     */
25
-    private $position;
26
-
27
-    /**
28
-     * @var bool
29
-     */
30
-    private $fullWidth;
31
-
32
-    /**
33
-     * @var int
34
-     */
35
-    private $fontSize;
36
-
37
-    /**
38
-     * @var string
39
-     */
40
-    private $fontFamily;
41
-
42
-    /**
43
-     * @var string
44
-     */
45
-    private $fontColor;
46
-
47
-    /**
48
-     * @var string
49
-     */
50
-    private $fontStyle;
51
-
52
-    /**
53
-     * @var int
54
-     */
55
-    private $padding;
56
-
57
-    /**
58
-     * @var string
59
-     */
60
-    private $text;
61
-
62
-    /**
63
-     * @return boolean
64
-     */
65
-    public function isDisplay()
66
-    {
67
-        return $this->display;
68
-    }
69
-
70
-    /**
71
-     * @param boolean $display
72
-     *
73
-     * @return $this
74
-     */
75
-    public function setDisplay($display)
76
-    {
77
-        $this->display = ! ! $display;
78
-
79
-        return $this;
80
-    }
81
-
82
-    /**
83
-     * @return string
84
-     */
85
-    public function getPosition()
86
-    {
87
-        return $this->position;
88
-    }
89
-
90
-    /**
91
-     * @param string $position
92
-     *
93
-     * @return $this
94
-     */
95
-    public function setPosition($position)
96
-    {
97
-        $this->position = strval($position);
98
-
99
-        return $this;
100
-    }
101
-
102
-    /**
103
-     * @return boolean
104
-     */
105
-    public function isFullWidth()
106
-    {
107
-        return $this->fullWidth;
108
-    }
109
-
110
-    /**
111
-     * @param boolean $fullWidth
112
-     *
113
-     * @return $this
114
-     */
115
-    public function setFullWidth($fullWidth)
116
-    {
117
-        $this->fullWidth = ! ! $fullWidth;
118
-
119
-        return $this;
120
-    }
121
-
122
-    /**
123
-     * @return int
124
-     */
125
-    public function getFontSize()
126
-    {
127
-        return $this->fontSize;
128
-    }
129
-
130
-    /**
131
-     * @param int $fontSize
132
-     *
133
-     * @return $this
134
-     */
135
-    public function setFontSize($fontSize)
136
-    {
137
-        $this->fontSize = intval($fontSize);
138
-
139
-        return $this;
140
-    }
141
-
142
-    /**
143
-     * @return string
144
-     */
145
-    public function getFontFamily()
146
-    {
147
-        return $this->fontFamily;
148
-    }
149
-
150
-    /**
151
-     * @param string $fontFamily
152
-     *
153
-     * @return $this
154
-     */
155
-    public function setFontFamily($fontFamily)
156
-    {
157
-        $this->fontFamily = strval($fontFamily);
158
-
159
-        return $this;
160
-    }
161
-
162
-    /**
163
-     * @return string
164
-     */
165
-    public function getFontColor()
166
-    {
167
-        return $this->fontColor;
168
-    }
169
-
170
-    /**
171
-     * @param string $fontColor
172
-     *
173
-     * @return $this
174
-     */
175
-    public function setFontColor($fontColor)
176
-    {
177
-        $this->fontColor = strval($fontColor);
178
-
179
-        return $this;
180
-    }
181
-
182
-    /**
183
-     * @return string
184
-     */
185
-    public function getFontStyle()
186
-    {
187
-        return $this->fontStyle;
188
-    }
189
-
190
-    /**
191
-     * @param string $fontStyle
192
-     *
193
-     * @return $this
194
-     */
195
-    public function setFontStyle($fontStyle)
196
-    {
197
-        $this->fontStyle = strval($fontStyle);
198
-
199
-        return $this;
200
-    }
201
-
202
-    /**
203
-     * @return int
204
-     */
205
-    public function getPadding()
206
-    {
207
-        return $this->padding;
208
-    }
209
-
210
-    /**
211
-     * @param int $padding
212
-     *
213
-     * @return $this
214
-     */
215
-    public function setPadding($padding)
216
-    {
217
-        $this->padding = intval($padding);
218
-
219
-        return $this;
220
-    }
221
-
222
-    /**
223
-     * @return string
224
-     */
225
-    public function getText()
226
-    {
227
-        return $this->text;
228
-    }
229
-
230
-    /**
231
-     * @param string $text
232
-     *
233
-     * @return $this
234
-     */
235
-    public function setText($text)
236
-    {
237
-        $this->text = strval($text);
238
-
239
-        return $this;
240
-    }
241
-
242
-    /**
243
-     * @return string
244
-     */
245
-    public function jsonSerialize()
246
-    {
247
-        return Json::encode($this->getArrayCopy());
248
-    }
15
+	use ArraySerializable;
16
+
17
+	/**
18
+	 * @var bool
19
+	 */
20
+	private $display;
21
+
22
+	/**
23
+	 * @var string
24
+	 */
25
+	private $position;
26
+
27
+	/**
28
+	 * @var bool
29
+	 */
30
+	private $fullWidth;
31
+
32
+	/**
33
+	 * @var int
34
+	 */
35
+	private $fontSize;
36
+
37
+	/**
38
+	 * @var string
39
+	 */
40
+	private $fontFamily;
41
+
42
+	/**
43
+	 * @var string
44
+	 */
45
+	private $fontColor;
46
+
47
+	/**
48
+	 * @var string
49
+	 */
50
+	private $fontStyle;
51
+
52
+	/**
53
+	 * @var int
54
+	 */
55
+	private $padding;
56
+
57
+	/**
58
+	 * @var string
59
+	 */
60
+	private $text;
61
+
62
+	/**
63
+	 * @return boolean
64
+	 */
65
+	public function isDisplay()
66
+	{
67
+		return $this->display;
68
+	}
69
+
70
+	/**
71
+	 * @param boolean $display
72
+	 *
73
+	 * @return $this
74
+	 */
75
+	public function setDisplay($display)
76
+	{
77
+		$this->display = ! ! $display;
78
+
79
+		return $this;
80
+	}
81
+
82
+	/**
83
+	 * @return string
84
+	 */
85
+	public function getPosition()
86
+	{
87
+		return $this->position;
88
+	}
89
+
90
+	/**
91
+	 * @param string $position
92
+	 *
93
+	 * @return $this
94
+	 */
95
+	public function setPosition($position)
96
+	{
97
+		$this->position = strval($position);
98
+
99
+		return $this;
100
+	}
101
+
102
+	/**
103
+	 * @return boolean
104
+	 */
105
+	public function isFullWidth()
106
+	{
107
+		return $this->fullWidth;
108
+	}
109
+
110
+	/**
111
+	 * @param boolean $fullWidth
112
+	 *
113
+	 * @return $this
114
+	 */
115
+	public function setFullWidth($fullWidth)
116
+	{
117
+		$this->fullWidth = ! ! $fullWidth;
118
+
119
+		return $this;
120
+	}
121
+
122
+	/**
123
+	 * @return int
124
+	 */
125
+	public function getFontSize()
126
+	{
127
+		return $this->fontSize;
128
+	}
129
+
130
+	/**
131
+	 * @param int $fontSize
132
+	 *
133
+	 * @return $this
134
+	 */
135
+	public function setFontSize($fontSize)
136
+	{
137
+		$this->fontSize = intval($fontSize);
138
+
139
+		return $this;
140
+	}
141
+
142
+	/**
143
+	 * @return string
144
+	 */
145
+	public function getFontFamily()
146
+	{
147
+		return $this->fontFamily;
148
+	}
149
+
150
+	/**
151
+	 * @param string $fontFamily
152
+	 *
153
+	 * @return $this
154
+	 */
155
+	public function setFontFamily($fontFamily)
156
+	{
157
+		$this->fontFamily = strval($fontFamily);
158
+
159
+		return $this;
160
+	}
161
+
162
+	/**
163
+	 * @return string
164
+	 */
165
+	public function getFontColor()
166
+	{
167
+		return $this->fontColor;
168
+	}
169
+
170
+	/**
171
+	 * @param string $fontColor
172
+	 *
173
+	 * @return $this
174
+	 */
175
+	public function setFontColor($fontColor)
176
+	{
177
+		$this->fontColor = strval($fontColor);
178
+
179
+		return $this;
180
+	}
181
+
182
+	/**
183
+	 * @return string
184
+	 */
185
+	public function getFontStyle()
186
+	{
187
+		return $this->fontStyle;
188
+	}
189
+
190
+	/**
191
+	 * @param string $fontStyle
192
+	 *
193
+	 * @return $this
194
+	 */
195
+	public function setFontStyle($fontStyle)
196
+	{
197
+		$this->fontStyle = strval($fontStyle);
198
+
199
+		return $this;
200
+	}
201
+
202
+	/**
203
+	 * @return int
204
+	 */
205
+	public function getPadding()
206
+	{
207
+		return $this->padding;
208
+	}
209
+
210
+	/**
211
+	 * @param int $padding
212
+	 *
213
+	 * @return $this
214
+	 */
215
+	public function setPadding($padding)
216
+	{
217
+		$this->padding = intval($padding);
218
+
219
+		return $this;
220
+	}
221
+
222
+	/**
223
+	 * @return string
224
+	 */
225
+	public function getText()
226
+	{
227
+		return $this->text;
228
+	}
229
+
230
+	/**
231
+	 * @param string $text
232
+	 *
233
+	 * @return $this
234
+	 */
235
+	public function setText($text)
236
+	{
237
+		$this->text = strval($text);
238
+
239
+		return $this;
240
+	}
241
+
242
+	/**
243
+	 * @return string
244
+	 */
245
+	public function jsonSerialize()
246
+	{
247
+		return Json::encode($this->getArrayCopy());
248
+	}
249 249
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function setDisplay($display)
76 76
     {
77
-        $this->display = ! ! $display;
77
+        $this->display = !!$display;
78 78
 
79 79
         return $this;
80 80
     }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     public function setFullWidth($fullWidth)
116 116
     {
117
-        $this->fullWidth = ! ! $fullWidth;
117
+        $this->fullWidth = !!$fullWidth;
118 118
 
119 119
         return $this;
120 120
     }
Please login to merge, or discard this patch.