@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $this->app->alias(Shodan::class, 'shodan'); |
| 37 | 37 | |
| 38 | 38 | $this->app->bind( |
| 39 | - 'shodan', function () { |
|
| 39 | + 'shodan', function() { |
|
| 40 | 40 | return new Shodan(); |
| 41 | 41 | } |
| 42 | 42 | ); |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function provides() |
| 51 | 51 | { |
| 52 | - return ['shodan']; |
|
| 52 | + return [ 'shodan' ]; |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | ); |
| 68 | 68 | |
| 69 | 69 | // Registering package commands. |
| 70 | - $this->commands(['shodan']); |
|
| 70 | + $this->commands([ 'shodan' ]); |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
@@ -80,8 +80,8 @@ discard block |
||
| 80 | 80 | */ |
| 81 | 81 | protected function mergeConfigFrom($path, $key) |
| 82 | 82 | { |
| 83 | - $config = $this->app['config']->get($key, []); |
|
| 84 | - $this->app['config']->set($key, $this->mergeConfig($config, include $path)); |
|
| 83 | + $config = $this->app[ 'config' ]->get($key, [ ]); |
|
| 84 | + $this->app[ 'config' ]->set($key, $this->mergeConfig($config, include $path)); |
|
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | /** |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | if (is_numeric($key)) { |
| 106 | 106 | continue; |
| 107 | 107 | } |
| 108 | - $array[$key] = $this->mergeConfig($value, $merging[$key]); |
|
| 108 | + $array[ $key ] = $this->mergeConfig($value, $merging[ $key ]); |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | return $array; |