@@ -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 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consigliere\Components\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Consigliere\Components\Support\Stub; |
| 7 | 6 | use Consigliere\Components\Traits\ComponentCommandTrait; |
| 7 | +use Illuminate\Support\Str; |
|
| 8 | 8 | use Symfony\Component\Console\Input\InputArgument; |
| 9 | 9 | |
| 10 | 10 | class GenerateMiddlewareCommand extends Command |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consigliere\Components\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Consigliere\Components\Support\Stub; |
| 7 | 6 | use Consigliere\Components\Traits\ComponentCommandTrait; |
| 7 | +use Illuminate\Support\Str; |
|
| 8 | 8 | use Symfony\Component\Console\Input\InputArgument; |
| 9 | 9 | use Symfony\Component\Console\Input\InputOption; |
| 10 | 10 | |
@@ -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 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consigliere\Components\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Console\Command as ComponentCommand; |
|
| 6 | 5 | use Consigliere\Components\Json; |
| 7 | 6 | use Consigliere\Components\Process\Installer; |
| 7 | +use Illuminate\Console\Command as ComponentCommand; |
|
| 8 | 8 | use Symfony\Component\Console\Input\InputArgument; |
| 9 | 9 | use Symfony\Component\Console\Input\InputOption; |
| 10 | 10 | |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consigliere\Components\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Console\Command as ComponentCommand; |
|
| 6 | 5 | use Consigliere\Components\Generators\ComponentGenerator; |
| 6 | +use Illuminate\Console\Command as ComponentCommand; |
|
| 7 | 7 | use Symfony\Component\Console\Input\InputArgument; |
| 8 | 8 | use Symfony\Component\Console\Input\InputOption; |
| 9 | 9 | |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consigliere\Components\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Consigliere\Components\Support\Stub; |
| 7 | 6 | use Consigliere\Components\Traits\ComponentCommandTrait; |
| 7 | +use Illuminate\Support\Str; |
|
| 8 | 8 | use Symfony\Component\Console\Input\InputArgument; |
| 9 | 9 | |
| 10 | 10 | class MakeRequestCommand extends Command |
@@ -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 | { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | /** |
| 68 | 68 | * @throws \InvalidArgumentException |
| 69 | 69 | * |
| 70 | - * @return mixed |
|
| 70 | + * @return Stub |
|
| 71 | 71 | */ |
| 72 | 72 | protected function getTemplateContents() |
| 73 | 73 | { |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * @return mixed |
|
| 110 | + * @return string |
|
| 111 | 111 | */ |
| 112 | 112 | protected function getDestinationFilePath() |
| 113 | 113 | { |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consigliere\Components\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Consigliere\Components\Support\Migrations\NameParser; |
| 7 | 6 | use Consigliere\Components\Support\Migrations\SchemaParser; |
| 8 | 7 | use Consigliere\Components\Support\Stub; |
| 9 | 8 | use Consigliere\Components\Traits\ComponentCommandTrait; |
| 9 | +use Illuminate\Support\Str; |
|
| 10 | 10 | use Symfony\Component\Console\Input\InputArgument; |
| 11 | 11 | use Symfony\Component\Console\Input\InputOption; |
| 12 | 12 | |
@@ -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 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consigliere\Components\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Consigliere\Components\Support\Stub; |
| 7 | 6 | use Consigliere\Components\Traits\ComponentCommandTrait; |
| 7 | +use Illuminate\Support\Str; |
|
| 8 | 8 | use Symfony\Component\Console\Input\InputArgument; |
| 9 | 9 | use Symfony\Component\Console\Input\InputOption; |
| 10 | 10 | |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consigliere\Components\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Console\Command as ComponentCommand; |
|
| 6 | 5 | use Consigliere\Components\Component; |
| 7 | 6 | use Consigliere\Components\Publishing\AssetPublisher; |
| 7 | +use Illuminate\Console\Command as ComponentCommand; |
|
| 8 | 8 | use Symfony\Component\Console\Input\InputArgument; |
| 9 | 9 | |
| 10 | 10 | class PublishAssetCommand extends ComponentCommand |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consigliere\Components\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Console\Command as ComponentCommand; |
|
| 6 | 5 | use Consigliere\Components\Component; |
| 7 | 6 | use Consigliere\Components\Publishing\LangPublisher; |
| 7 | +use Illuminate\Console\Command as ComponentCommand; |
|
| 8 | 8 | use Symfony\Component\Console\Input\InputArgument; |
| 9 | 9 | |
| 10 | 10 | class PublishTranslationCommand extends ComponentCommand |