@@ -204,7 +204,7 @@ |
||
204 | 204 | |
205 | 205 | public function getRawContent($content = '') |
206 | 206 | { |
207 | - if($content) { |
|
207 | + if ($content) { |
|
208 | 208 | $this->content = $content; |
209 | 209 | } else { |
210 | 210 | $content = $this->content; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | $input = file_get_contents('php://stdin'); |
3 | -spl_autoload_register(function ($class) { |
|
3 | +spl_autoload_register(function($class) { |
|
4 | 4 | if (is_file($file = __DIR__ . '/' . substr(strtr($class, '\\', '/'), 10) . '.php')) { |
5 | 5 | require $file; |
6 | 6 | return true; |
@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | protected function convertUploadedFiles(array $files) |
39 | 39 | { |
40 | - return array_map(function ($file) { |
|
40 | + return array_map(function($file) { |
|
41 | 41 | if (is_null($file) || (is_array($file) && empty(array_filter($file)))) { |
42 | 42 | return $file; |
43 | 43 | } |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | if (file_exists(__DIR__ . '/../vendor/autoload.php')) { |
74 | 74 | require __DIR__ . '/../vendor/autoload.php'; |
75 | - } elseif (file_exists(__DIR__.'/../../../autoload.php')) { |
|
75 | + } elseif (file_exists(__DIR__ . '/../../../autoload.php')) { |
|
76 | 76 | require __DIR__ . '/../../../autoload.php'; |
77 | 77 | } elseif (file_exists($this->root_dir . '/bootstrap/autoload.php')) { |
78 | 78 | //as of laravel>=5.5, optimize command has been deprecated |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | $this->kernel = $this->app->make(\Illuminate\Contracts\Http\Kernel::class); |
93 | - $virus = function () { |
|
93 | + $virus = function() { |
|
94 | 94 | // Insert bofore BootProviders |
95 | 95 | array_splice($this->bootstrappers, -1, 0, [\Illuminate\Foundation\Bootstrap\SetRequestForConsole::class]); |
96 | 96 | }; |