We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -41,7 +41,9 @@ |
||
41 | 41 | */ |
42 | 42 | protected function getStub() |
43 | 43 | { |
44 | - if ($this->option('plain')) return __DIR__.'/../stubs/view-plain.stub'; |
|
44 | + if ($this->option('plain')) { |
|
45 | + return __DIR__.'/../stubs/view-plain.stub'; |
|
46 | + } |
|
45 | 47 | |
46 | 48 | return __DIR__.'/../stubs/view.stub'; |
47 | 49 | } |
@@ -41,7 +41,9 @@ |
||
41 | 41 | */ |
42 | 42 | protected function getStub() |
43 | 43 | { |
44 | - if ($this->option('softdelete')) return __DIR__.'/../stubs/model-softdelete.stub'; |
|
44 | + if ($this->option('softdelete')) { |
|
45 | + return __DIR__.'/../stubs/model-softdelete.stub'; |
|
46 | + } |
|
45 | 47 | |
46 | 48 | return __DIR__.'/../stubs/model.stub'; |
47 | 49 | } |