@@ -52,12 +52,12 @@ discard block |
||
| 52 | 52 | { |
| 53 | 53 | $request = $this->option('request'); |
| 54 | 54 | |
| 55 | - if (! Str::startsWith($request, [ |
|
| 55 | + if (!Str::startsWith($request, [ |
|
| 56 | 56 | $this->laravel->getNamespace(), |
| 57 | 57 | 'Illuminate', |
| 58 | 58 | '\\', |
| 59 | 59 | ])) { |
| 60 | - $request = $this->laravel->getNamespace().'Http\\Requests\\'.str_replace('/', '\\', $request); |
|
| 60 | + $request = $this->laravel->getNamespace() . 'Http\\Requests\\' . str_replace('/', '\\', $request); |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | $stub = str_replace( |
@@ -89,10 +89,10 @@ discard block |
||
| 89 | 89 | protected function getStub() |
| 90 | 90 | { |
| 91 | 91 | if ($this->option('request')) { |
| 92 | - return __DIR__.'/stubs/service.stub'; |
|
| 92 | + return __DIR__ . '/stubs/service.stub'; |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - return __DIR__.'/stubs/service-duck.stub'; |
|
| 95 | + return __DIR__ . '/stubs/service-duck.stub'; |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | /** |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | { |
| 106 | 106 | return file_exists($customPath = $this->laravel->basePath(trim($stub, '/'))) |
| 107 | 107 | ? $customPath |
| 108 | - : __DIR__.$stub; |
|
| 108 | + : __DIR__ . $stub; |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | /** |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | */ |
| 117 | 117 | protected function getDefaultNamespace($rootNamespace) |
| 118 | 118 | { |
| 119 | - return $rootNamespace.'\Services'; |
|
| 119 | + return $rootNamespace . '\Services'; |
|
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | /** |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | { |
| 10 | 10 | public function setUp(): void |
| 11 | 11 | { |
| 12 | - parent::setUp(); |
|
| 12 | + parent::setUp(); |
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | protected function defineDatabaseMigrations() |