@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | public function register() |
45 | 45 | { |
46 | 46 | // Register the service the package provides. |
47 | - $this->app->singleton('safe-urls', function () { |
|
47 | + $this->app->singleton('safe-urls', function() { |
|
48 | 48 | return new SafeUrls(); |
49 | 49 | }); |
50 | 50 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function provides() |
60 | 60 | { |
61 | - return ['safe-urls']; |
|
61 | + return [ 'safe-urls' ]; |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | ], 'safe-urls'); |
75 | 75 | |
76 | 76 | // Registering package commands. |
77 | - $this->commands(['safe-urls']); |
|
77 | + $this->commands([ 'safe-urls' ]); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -87,8 +87,8 @@ discard block |
||
87 | 87 | */ |
88 | 88 | protected function mergeConfigFrom($path, $key) |
89 | 89 | { |
90 | - $config = $this->app['config']->get($key, []); |
|
91 | - $this->app['config']->set($key, $this->mergeConfig($config, require $path)); |
|
90 | + $config = $this->app[ 'config' ]->get($key, [ ]); |
|
91 | + $this->app[ 'config' ]->set($key, $this->mergeConfig($config, require $path)); |
|
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | if (is_numeric($key)) { |
113 | 113 | continue; |
114 | 114 | } |
115 | - $array[$key] = $this->mergeConfig($value, $merging[$key]); |
|
115 | + $array[ $key ] = $this->mergeConfig($value, $merging[ $key ]); |
|
116 | 116 | } |
117 | 117 | |
118 | 118 | return $array; |