@@ -76,7 +76,7 @@ |
||
| 76 | 76 | * @param string $stub |
| 77 | 77 | * @param string $name |
| 78 | 78 | * |
| 79 | - * @return string |
|
| 79 | + * @return MakeBackpackCrudController |
|
| 80 | 80 | */ |
| 81 | 81 | protected function replaceNameStrings(&$stub, $name) |
| 82 | 82 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | * @param string $stub |
| 64 | 64 | * @param string $name |
| 65 | 65 | * |
| 66 | - * @return string |
|
| 66 | + * @return MakeBackpackCrudModel |
|
| 67 | 67 | */ |
| 68 | 68 | protected function replaceTable(&$stub, $name) |
| 69 | 69 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Webfactor\Laravel\Generators\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Illuminate\Console\GeneratorCommand; |
| 6 | +use Illuminate\Support\Str; |
|
| 7 | 7 | |
| 8 | 8 | class MakeBackpackCrudModel extends GeneratorCommand |
| 9 | 9 | { |
@@ -4,5 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface OpenInIdeInterface |
| 6 | 6 | { |
| 7 | + /** |
|
| 8 | + * @return void |
|
| 9 | + */ |
|
| 7 | 10 | public function open(); |
| 8 | 11 | } |
@@ -4,5 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface ServiceInterface |
| 6 | 6 | { |
| 7 | + /** |
|
| 8 | + * @return void |
|
| 9 | + */ |
|
| 7 | 10 | public function call(); |
| 8 | 11 | } |
@@ -37,7 +37,6 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * Build the class with the given name. |
| 39 | 39 | * |
| 40 | - * @param string $name |
|
| 41 | 40 | * |
| 42 | 41 | * @return string |
| 43 | 42 | */ |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Webfactor\Laravel\Generators\Services; |
| 4 | 4 | |
| 5 | -use Illuminate\Filesystem\Filesystem; |
|
| 6 | -use Webfactor\Laravel\Generators\Commands\MakeEntity; |
|
| 7 | 5 | use Webfactor\Laravel\Generators\Contracts\ServiceAbstract; |
| 8 | 6 | use Webfactor\Laravel\Generators\Contracts\ServiceInterface; |
| 9 | 7 | |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | - * @return mixed |
|
| 74 | + * @return string |
|
| 75 | 75 | */ |
| 76 | 76 | public function getDefault() |
| 77 | 77 | { |