@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | |
27 | 27 | $this->app->alias(Shodan::class, 'shodan'); |
28 | 28 | |
29 | - $this->app->bind('shodan', function () { |
|
29 | + $this->app->bind('shodan', function() { |
|
30 | 30 | return new Shodan(); |
31 | 31 | }); |
32 | 32 | } |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | public function provides() |
40 | 40 | { |
41 | - return ['shodan']; |
|
41 | + return [ 'shodan' ]; |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | ], 'shodan'); |
55 | 55 | |
56 | 56 | // Registering package commands. |
57 | - $this->commands(['shodan']); |
|
57 | + $this->commands([ 'shodan' ]); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
@@ -67,8 +67,8 @@ discard block |
||
67 | 67 | */ |
68 | 68 | protected function mergeConfigFrom($path, $key) |
69 | 69 | { |
70 | - $config = $this->app['config']->get($key, []); |
|
71 | - $this->app['config']->set($key, $this->mergeConfig($config, require $path)); |
|
70 | + $config = $this->app[ 'config' ]->get($key, [ ]); |
|
71 | + $this->app[ 'config' ]->set($key, $this->mergeConfig($config, require $path)); |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | if (is_numeric($key)) { |
93 | 93 | continue; |
94 | 94 | } |
95 | - $array[$key] = $this->mergeConfig($value, $merging[$key]); |
|
95 | + $array[ $key ] = $this->mergeConfig($value, $merging[ $key ]); |
|
96 | 96 | } |
97 | 97 | |
98 | 98 | return $array; |