diff --git a/src/Commands/RequestMakeCommand.php b/src/Commands/RequestMakeCommand.php index 070acd2..f925a31 100644 --- a/src/Commands/RequestMakeCommand.php +++ b/src/Commands/RequestMakeCommand.php @@ -43,8 +43,6 @@ class RequestMakeCommand extends GeneratorCommand /** * Get the console command arguments. - * - * @return array */ protected function getArguments(): array { @@ -56,8 +54,6 @@ protected function getArguments(): array /** * Get the console command options. - * - * @return array */ protected function getOptions(): array { @@ -79,14 +75,12 @@ protected function getTemplateContents(): string return (new Stub('/request.stub', [ 'NAMESPACE' => $this->getClassNamespace(), 'CLASS' => $this->getClass(), - 'RULES' => $this->getRules() + 'RULES' => $this->getRules(), ]))->render(); } /** * return the default rules needed in request class - * - * @return string */ protected function getRules(): string { diff --git a/src/Commands/ResourceMakeCommand.php b/src/Commands/ResourceMakeCommand.php index fd22fcc..e110592 100644 --- a/src/Commands/ResourceMakeCommand.php +++ b/src/Commands/ResourceMakeCommand.php @@ -44,8 +44,6 @@ class ResourceMakeCommand extends GeneratorCommand /** * Get the console command arguments. - * - * @return array */ protected function getArguments(): array { @@ -92,9 +90,6 @@ protected function isCollection(): bool Str::endsWith($this->argument('name'), 'Collection'); } - /** - * @return string - */ protected function getFileName(): string { return Str::studly($this->argument('name')).'.php';