We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | */ |
| 91 | 91 | protected function getPath($name) |
| 92 | 92 | { |
| 93 | - return $this->laravel['path'].'/../resources/views/'.str_replace('\\', '/', $name).'.blade.php'; |
|
| 93 | + return $this->laravel[ 'path' ].'/../resources/views/'.str_replace('\\', '/', $name).'.blade.php'; |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | */ |
| 89 | 89 | protected function getPath($name) |
| 90 | 90 | { |
| 91 | - return $this->laravel['path'].'/../config/'.str_replace('\\', '/', $name).'.php'; |
|
| 91 | + return $this->laravel[ 'path' ].'/../config/'.str_replace('\\', '/', $name).'.php'; |
|
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | * @param string $stub |
| 78 | 78 | * @param string $name |
| 79 | 79 | * |
| 80 | - * @return string |
|
| 80 | + * @return CrudControllerBackpackCommand |
|
| 81 | 81 | */ |
| 82 | 82 | protected function replaceNameStrings(&$stub, $name) |
| 83 | 83 | { |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | { |
| 47 | 47 | $name = str_replace($this->laravel->getNamespace(), '', $name); |
| 48 | 48 | |
| 49 | - return $this->laravel['path'].'/'.str_replace('\\', '/', $name).'CrudController.php'; |
|
| 49 | + return $this->laravel[ 'path' ].'/'.str_replace('\\', '/', $name).'CrudController.php'; |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | { |
| 46 | 46 | $name = str_replace($this->laravel->getNamespace(), '', $name); |
| 47 | 47 | |
| 48 | - return $this->laravel['path'].'/'.str_replace('\\', '/', $name).'Request.php'; |
|
| 48 | + return $this->laravel[ 'path' ].'/'.str_replace('\\', '/', $name).'Request.php'; |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | |
@@ -31,15 +31,15 @@ |
||
| 31 | 31 | $name = ucfirst($this->argument('name')); |
| 32 | 32 | |
| 33 | 33 | // Create the CRUD Controller and show output |
| 34 | - Artisan::call('backpack:crud-controller', ['name' => $name]); |
|
| 34 | + Artisan::call('backpack:crud-controller', [ 'name' => $name ]); |
|
| 35 | 35 | echo Artisan::output(); |
| 36 | 36 | |
| 37 | 37 | // Create the CRUD Model and show output |
| 38 | - Artisan::call('backpack:crud-model', ['name' => $name]); |
|
| 38 | + Artisan::call('backpack:crud-model', [ 'name' => $name ]); |
|
| 39 | 39 | echo Artisan::output(); |
| 40 | 40 | |
| 41 | 41 | // Create the CRUD Request and show output |
| 42 | - Artisan::call('backpack:crud-request', ['name' => $name]); |
|
| 42 | + Artisan::call('backpack:crud-request', [ 'name' => $name ]); |
|
| 43 | 43 | echo Artisan::output(); |
| 44 | 44 | } |
| 45 | 45 | } |