@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @return mixed |
|
| 62 | + * @return string |
|
| 63 | 63 | */ |
| 64 | 64 | protected function getTemplateContents() |
| 65 | 65 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | - * @return mixed |
|
| 76 | + * @return string |
|
| 77 | 77 | */ |
| 78 | 78 | protected function getDestinationFilePath() |
| 79 | 79 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return Stub |
|
| 49 | + * @return string |
|
| 50 | 50 | */ |
| 51 | 51 | protected function getTemplateContents() |
| 52 | 52 | { |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | - * @return array|string |
|
| 83 | + * @return string |
|
| 84 | 84 | */ |
| 85 | 85 | protected function getControllerName() |
| 86 | 86 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return mixed |
|
| 49 | + * @return string |
|
| 50 | 50 | */ |
| 51 | 51 | protected function getTemplateContents() |
| 52 | 52 | { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * @return mixed |
|
| 67 | + * @return string |
|
| 68 | 68 | */ |
| 69 | 69 | protected function getDestinationFilePath() |
| 70 | 70 | { |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @return mixed |
|
| 62 | + * @return string |
|
| 63 | 63 | */ |
| 64 | 64 | protected function getTemplateContents() |
| 65 | 65 | { |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | - * @return mixed |
|
| 85 | + * @return string |
|
| 86 | 86 | */ |
| 87 | 87 | protected function getDestinationFilePath() |
| 88 | 88 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return mixed |
|
| 49 | + * @return string |
|
| 50 | 50 | */ |
| 51 | 51 | protected function getTemplateContents() |
| 52 | 52 | { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * @return mixed |
|
| 67 | + * @return string |
|
| 68 | 68 | */ |
| 69 | 69 | protected function getDestinationFilePath() |
| 70 | 70 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Nwidart\Modules\Commands; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Console\Command; |
| 6 | -use Nwidart\Modules\Migrations\Migrator; |
|
| 7 | 6 | use Symfony\Component\Console\Input\InputArgument; |
| 8 | 7 | use Symfony\Component\Console\Input\InputOption; |
| 9 | 8 | |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | /** |
| 68 | 68 | * @throws InvalidMigrationNameException |
| 69 | 69 | * |
| 70 | - * @return mixed |
|
| 70 | + * @return Stub |
|
| 71 | 71 | */ |
| 72 | 72 | protected function getTemplateContents() |
| 73 | 73 | { |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | - * @return mixed |
|
| 108 | + * @return string |
|
| 109 | 109 | */ |
| 110 | 110 | protected function getDestinationFilePath() |
| 111 | 111 | { |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @return mixed |
|
| 62 | + * @return string |
|
| 63 | 63 | */ |
| 64 | 64 | protected function getTemplateContents() |
| 65 | 65 | { |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | - * @return mixed |
|
| 81 | + * @return string |
|
| 82 | 82 | */ |
| 83 | 83 | protected function getDestinationFilePath() |
| 84 | 84 | { |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * @return mixed|string |
|
| 93 | + * @return string |
|
| 94 | 94 | */ |
| 95 | 95 | private function getModelName() |
| 96 | 96 | { |
@@ -5,9 +5,7 @@ |
||
| 5 | 5 | use Illuminate\Console\Command; |
| 6 | 6 | use Nwidart\Modules\Module; |
| 7 | 7 | use Nwidart\Modules\Publishing\AssetPublisher; |
| 8 | -use Nwidart\Modules\Publishing\LangPublisher; |
|
| 9 | 8 | use Symfony\Component\Console\Input\InputArgument; |
| 10 | -use Symfony\Component\Console\Input\InputOption; |
|
| 11 | 9 | |
| 12 | 10 | class PublishCommand extends Command |
| 13 | 11 | { |