Completed
Push — master ( db0452...db89a0 )
by
unknown
01:55
created
src/Config/charts.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@
 block discarded – undo
4 4
 
5 5
 	'options' => [
6 6
 		'available_types' => [
7
-			'title' => ['text','align','style'],
7
+			'title' => ['text', 'align', 'style'],
8 8
 			'legend' => ['itemStyle'],
9
-			'plotOptions' => ['plotOption','shared','valueSuffix','series'],
10
-			'subtitle' => ['text','style'],
11
-			'xAxis' => ['title','categories','tickWidth','gridLineWidth','labels'],
12
-			'yAxis' => ['title','label','showFirstLabel'],
13
-			'chart' => ['style','backgroundColor','borderColor','borderRadius','borderWidth','marginTop','className'],
9
+			'plotOptions' => ['plotOption', 'shared', 'valueSuffix', 'series'],
10
+			'subtitle' => ['text', 'style'],
11
+			'xAxis' => ['title', 'categories', 'tickWidth', 'gridLineWidth', 'labels'],
12
+			'yAxis' => ['title', 'label', 'showFirstLabel'],
13
+			'chart' => ['style', 'backgroundColor', 'borderColor', 'borderRadius', 'borderWidth', 'marginTop', 'className'],
14 14
 			'credits' => ['enabled'],
15 15
 		],
16 16
 	],
17 17
 
18 18
 	'series' => [
19 19
 		'available_types' => [
20
-			'line' => ['name','data','zIndex','color','type','fillOpacity','lineWidth'],
20
+			'line' => ['name', 'data', 'zIndex', 'color', 'type', 'fillOpacity', 'lineWidth'],
21 21
 		]
22 22
 	]
23 23
 ];
Please login to merge, or discard this patch.
src/Chart.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	{
28 28
 		$availableTypes = array_keys($this->config['options']['available_types']);
29 29
 
30
-		if (! in_array($type, $availableTypes)) {
30
+		if (!in_array($type, $availableTypes)) {
31 31
 			throw new UnavailableOptionException;
32 32
 		}
33 33
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 	{
43 43
 		$availableTypes = array_keys($this->config['series']['available_types']);
44 44
 
45
-		if (! in_array($type, $availableTypes)) {
45
+		if (!in_array($type, $availableTypes)) {
46 46
 			throw new UnavailableSerieException;
47 47
 		}
48 48
 
Please login to merge, or discard this patch.