Completed
Push — master ( b0c37d...050b0c )
by
unknown
02:04
created
src/Highcharts/Highcharts.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@
 block discarded – undo
22 22
 
23 23
 	public function pattern($value)
24 24
 	{
25
-		$value = (is_array($value)) ? $value : [$value] ;
25
+		$value = (is_array($value)) ? $value : [$value];
26 26
 
27 27
 		$this->pattern = $value;
28 28
 	}
29 29
 
30 30
     public function __set($key, $value)
31 31
     {
32
-        if (! in_array($key, $this->availableMethods)) {
32
+        if (!in_array($key, $this->availableMethods)) {
33 33
             throw new UnavailableMethodException;
34 34
         }
35 35
 
Please login to merge, or discard this patch.
src/ChartServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Illuminate\Support\ServiceProvider;
6 6
 
7
-class ChartServiceProvider extends ServiceProvider{
7
+class ChartServiceProvider extends ServiceProvider {
8 8
 
9 9
     /**
10 10
      * Indicates if loading of the provider is deferred.
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     protected function publishesConfig()
34 34
     {
35 35
         $this->publishes([
36
-            __DIR__.'/Config/charts.php' => config_path('charts.php'),
36
+            __DIR__ . '/Config/charts.php' => config_path('charts.php'),
37 37
         ]);
38 38
     }
39 39
 }
40 40
\ No newline at end of file
Please login to merge, or discard this patch.
src/Highcharts/Options/Credits.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
 	protected function setEnabledAttribute($value)
11 11
 	{
12
-		if (! is_bool($value)) {
12
+		if (!is_bool($value)) {
13 13
 			throw new InvalidArgumentException('Credits Enabled must be : boolean');
14 14
 		}
15 15
 
Please login to merge, or discard this patch.
src/Config/charts.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@
 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
-		'available_types' => ['name','data','zIndex','color','type','fillOpacity','lineWidth'],
19
+		'available_types' => ['name', 'data', 'zIndex', 'color', 'type', 'fillOpacity', 'lineWidth'],
20 20
 	]
21 21
 ];
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
 	public function make($callback)
31 31
 	{
32
-		if (! $this->class) {
32
+		if (!$this->class) {
33 33
 			throw new BuilderNotReadyException;
34 34
 		}
35 35
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
 	protected function callFunc($callback, $option)
42 42
 	{
43
-		if (! $callback instanceof Closure)
43
+		if (!$callback instanceof Closure)
44 44
 		{
45 45
 			throw new CallbackNotValidException();
46 46
 		}
Please login to merge, or discard this patch.
src/Chart.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 	{
27 27
 		$availableTypes = array_keys($this->config['options']['available_types']);
28 28
 
29
-		if (! in_array($type, $availableTypes)) {
29
+		if (!in_array($type, $availableTypes)) {
30 30
 			throw new UnavailableOptionException;
31 31
 		}
32 32
 
Please login to merge, or discard this patch.