Completed
Push — master ( 4d81b0...b0c37d )
by
unknown
02:03
created
src/Highcharts/Highcharts.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -27,34 +27,34 @@
 block discarded – undo
27 27
 		$this->pattern = $value;
28 28
 	}
29 29
 
30
-    public function __set($key, $value)
31
-    {
32
-        if (! in_array($key, $this->availableMethods)) {
33
-            throw new UnavailableMethodException;
34
-        }
30
+	public function __set($key, $value)
31
+	{
32
+		if (! in_array($key, $this->availableMethods)) {
33
+			throw new UnavailableMethodException;
34
+		}
35 35
 
36
-        return $this->setAttribute($key, $value);
37
-    }
36
+		return $this->setAttribute($key, $value);
37
+	}
38 38
 
39
-    protected function setAttribute($key, $value)
40
-    {
41
-        $method = $this->formatMethod($key, 'set');
39
+	protected function setAttribute($key, $value)
40
+	{
41
+		$method = $this->formatMethod($key, 'set');
42 42
 
43
-        if ($method) {
44
-            return $this->{$method}($value);
45
-        }
43
+		if ($method) {
44
+			return $this->{$method}($value);
45
+		}
46 46
 
47
-        return $this->options[$key] = $value;
48
-    }
47
+		return $this->options[$key] = $value;
48
+	}
49 49
 
50
-    protected function formatMethod($key, $type)
51
-    {
52
-        $method = $type . studly_case($key) . 'Attribute';
50
+	protected function formatMethod($key, $type)
51
+	{
52
+		$method = $type . studly_case($key) . 'Attribute';
53 53
 
54
-        if (method_exists($this, $method)) {
55
-            return $method;
56
-        }
54
+		if (method_exists($this, $method)) {
55
+			return $method;
56
+		}
57 57
 
58
-        return null;
59
-    }
58
+		return null;
59
+	}
60 60
 }
Please login to merge, or discard this patch.
src/ChartServiceProvider.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -6,34 +6,34 @@
 block discarded – undo
6 6
 
7 7
 class ChartServiceProvider extends ServiceProvider{
8 8
 
9
-    /**
10
-     * Indicates if loading of the provider is deferred.
11
-     *
12
-     * @var bool
13
-     */
14
-    protected $defer = false;
15
-
16
-    public function boot()
17
-    {
18
-        $this->publishesConfig();
19
-    }
20
-
21
-    public function register()
22
-    {
23
-        $this->app->bind('chart', function($app) {
24
-
25
-            $builder = new Builder();
26
-
27
-            $config = config('charts');
28
-
29
-            return new Chart($builder, $config);
30
-        });
31
-    }
32
-
33
-    protected function publishesConfig()
34
-    {
35
-        $this->publishes([
36
-            __DIR__.'/Config/charts.php' => config_path('charts.php'),
37
-        ]);
38
-    }
9
+	/**
10
+	 * Indicates if loading of the provider is deferred.
11
+	 *
12
+	 * @var bool
13
+	 */
14
+	protected $defer = false;
15
+
16
+	public function boot()
17
+	{
18
+		$this->publishesConfig();
19
+	}
20
+
21
+	public function register()
22
+	{
23
+		$this->app->bind('chart', function($app) {
24
+
25
+			$builder = new Builder();
26
+
27
+			$config = config('charts');
28
+
29
+			return new Chart($builder, $config);
30
+		});
31
+	}
32
+
33
+	protected function publishesConfig()
34
+	{
35
+		$this->publishes([
36
+			__DIR__.'/Config/charts.php' => config_path('charts.php'),
37
+		]);
38
+	}
39 39
 }
40 40
\ No newline at end of file
Please login to merge, or discard this patch.