diff --git a/src/Console/Commands/ChartControllerBackpackCommand.php b/src/Console/Commands/ChartControllerBackpackCommand.php index f696734..c96cdad 100644 --- a/src/Console/Commands/ChartControllerBackpackCommand.php +++ b/src/Console/Commands/ChartControllerBackpackCommand.php @@ -38,8 +38,7 @@ class ChartControllerBackpackCommand extends GeneratorCommand /** * Get the destination class path. * - * @param string $name - * + * @param string $name * @return string */ protected function getPath($name) @@ -62,8 +61,7 @@ protected function getStub() /** * Get the default namespace for the class. * - * @param string $rootNamespace - * + * @param string $rootNamespace * @return string */ protected function getDefaultNamespace($rootNamespace) @@ -74,9 +72,8 @@ protected function getDefaultNamespace($rootNamespace) /** * Replace the table name for the given stub. * - * @param string $stub - * @param string $name - * + * @param string $stub + * @param string $name * @return string */ protected function replaceRouteStrings(&$stub) @@ -89,8 +86,7 @@ protected function replaceRouteStrings(&$stub) /** * Build the class with the given name. * - * @param string $name - * + * @param string $name * @return string */ protected function buildClass($name) diff --git a/src/Console/Commands/ConfigBackpackCommand.php b/src/Console/Commands/ConfigBackpackCommand.php index 34ede85..3a0d382 100644 --- a/src/Console/Commands/ConfigBackpackCommand.php +++ b/src/Console/Commands/ConfigBackpackCommand.php @@ -82,8 +82,7 @@ public function fire() /** * Determine if the class already exists. * - * @param string $name - * + * @param string $name * @return bool */ protected function alreadyExists($name) @@ -94,8 +93,7 @@ protected function alreadyExists($name) /** * Get the destination class path. * - * @param string $name - * + * @param string $name * @return string */ protected function getPath($name) @@ -106,8 +104,7 @@ protected function getPath($name) /** * Build the class with the given name. * - * @param string $name - * + * @param string $name * @return string */ protected function buildClass($name) diff --git a/src/Console/Commands/CrudBackpackCommand.php b/src/Console/Commands/CrudBackpackCommand.php index 04ed21e..aba73f7 100644 --- a/src/Console/Commands/CrudBackpackCommand.php +++ b/src/Console/Commands/CrudBackpackCommand.php @@ -33,7 +33,6 @@ public function handle() $nameKebab = Str::kebab($nameTitle); $namePlural = ucfirst(str_replace('-', ' ', Str::plural($nameKebab))); - // Create the CRUD Model and show output $this->call('backpack:crud-model', ['name' => $nameTitle]); diff --git a/src/Console/Commands/CrudControllerBackpackCommand.php b/src/Console/Commands/CrudControllerBackpackCommand.php index 8db983d..07f2860 100644 --- a/src/Console/Commands/CrudControllerBackpackCommand.php +++ b/src/Console/Commands/CrudControllerBackpackCommand.php @@ -39,8 +39,7 @@ class CrudControllerBackpackCommand extends GeneratorCommand /** * Get the destination class path. * - * @param string $name - * + * @param string $name * @return string */ protected function getPath($name) @@ -63,8 +62,7 @@ protected function getStub() /** * Get the default namespace for the class. * - * @param string $rootNamespace - * + * @param string $rootNamespace * @return string */ protected function getDefaultNamespace($rootNamespace) @@ -75,9 +73,8 @@ protected function getDefaultNamespace($rootNamespace) /** * Replace the table name for the given stub. * - * @param string $stub - * @param string $name - * + * @param string $stub + * @param string $name * @return string */ protected function replaceNameStrings(&$stub, $name) @@ -114,9 +111,8 @@ protected function getAttributes($model) /** * Replace the table name for the given stub. * - * @param string $stub - * @param string $name - * + * @param string $stub + * @param string $name * @return string */ protected function replaceSetFromDb(&$stub, $name) @@ -158,7 +154,6 @@ protected function replaceSetFromDb(&$stub, $name) * * @param string $stub * @param string $name - * * @return string */ protected function replaceModel(&$stub, $name) @@ -172,8 +167,7 @@ protected function replaceModel(&$stub, $name) /** * Build the class with the given name. * - * @param string $name - * + * @param string $name * @return string */ protected function buildClass($name) diff --git a/src/Console/Commands/CrudModelBackpackCommand.php b/src/Console/Commands/CrudModelBackpackCommand.php index cbb81a6..1106939 100644 --- a/src/Console/Commands/CrudModelBackpackCommand.php +++ b/src/Console/Commands/CrudModelBackpackCommand.php @@ -147,9 +147,8 @@ protected function getStub() /** * Replace the table name for the given stub. * - * @param string $stub - * @param string $name - * + * @param string $stub + * @param string $name * @return string */ protected function replaceTable(&$stub, $name) @@ -166,8 +165,7 @@ protected function replaceTable(&$stub, $name) /** * Build the class with the given name. * - * @param string $name - * + * @param string $name * @return string */ protected function buildClass($name) diff --git a/src/Console/Commands/CrudOperationBackpackCommand.php b/src/Console/Commands/CrudOperationBackpackCommand.php index b7cc6ad..095ae19 100644 --- a/src/Console/Commands/CrudOperationBackpackCommand.php +++ b/src/Console/Commands/CrudOperationBackpackCommand.php @@ -38,8 +38,7 @@ class CrudOperationBackpackCommand extends GeneratorCommand /** * Get the destination class path. * - * @param string $name - * + * @param string $name * @return string */ protected function getPath($name) @@ -62,8 +61,7 @@ protected function getStub() /** * Get the default namespace for the class. * - * @param string $rootNamespace - * + * @param string $rootNamespace * @return string */ protected function getDefaultNamespace($rootNamespace) @@ -74,9 +72,8 @@ protected function getDefaultNamespace($rootNamespace) /** * Replace the table name for the given stub. * - * @param string $stub - * @param string $name - * + * @param string $stub + * @param string $name * @return string */ protected function replaceNameStrings(&$stub, $name) @@ -92,8 +89,7 @@ protected function replaceNameStrings(&$stub, $name) /** * Build the class with the given name. * - * @param string $name - * + * @param string $name * @return string */ protected function buildClass($name) diff --git a/src/Console/Commands/CrudRequestBackpackCommand.php b/src/Console/Commands/CrudRequestBackpackCommand.php index 4f345e6..f43579e 100644 --- a/src/Console/Commands/CrudRequestBackpackCommand.php +++ b/src/Console/Commands/CrudRequestBackpackCommand.php @@ -37,8 +37,7 @@ class CrudRequestBackpackCommand extends GeneratorCommand /** * Get the destination class path. * - * @param string $name - * + * @param string $name * @return string */ protected function getPath($name) @@ -61,8 +60,7 @@ protected function getStub() /** * Get the default namespace for the class. * - * @param string $rootNamespace - * + * @param string $rootNamespace * @return string */ protected function getDefaultNamespace($rootNamespace) diff --git a/src/Console/Commands/ModelBackpackCommand.php b/src/Console/Commands/ModelBackpackCommand.php index 3ddb0e1..a94f6b9 100644 --- a/src/Console/Commands/ModelBackpackCommand.php +++ b/src/Console/Commands/ModelBackpackCommand.php @@ -52,8 +52,7 @@ protected function getStub() /** * Get the default namespace for the class. * - * @param string $rootNamespace - * + * @param string $rootNamespace * @return string */ protected function getDefaultNamespace($rootNamespace) @@ -64,9 +63,8 @@ protected function getDefaultNamespace($rootNamespace) /** * Replace the table name for the given stub. * - * @param string $stub - * @param string $name - * + * @param string $stub + * @param string $name * @return string */ protected function replaceTable(&$stub, $name) @@ -83,8 +81,7 @@ protected function replaceTable(&$stub, $name) /** * Build the class with the given name. * - * @param string $name - * + * @param string $name * @return string */ protected function buildClass($name) diff --git a/src/Console/Commands/RequestBackpackCommand.php b/src/Console/Commands/RequestBackpackCommand.php index 0658956..a576f36 100644 --- a/src/Console/Commands/RequestBackpackCommand.php +++ b/src/Console/Commands/RequestBackpackCommand.php @@ -47,8 +47,7 @@ protected function getStub() /** * Get the default namespace for the class. * - * @param string $rootNamespace - * + * @param string $rootNamespace * @return string */ protected function getDefaultNamespace($rootNamespace) diff --git a/src/Console/Commands/ViewBackpackCommand.php b/src/Console/Commands/ViewBackpackCommand.php index 3b964e7..ac3f216 100644 --- a/src/Console/Commands/ViewBackpackCommand.php +++ b/src/Console/Commands/ViewBackpackCommand.php @@ -86,8 +86,7 @@ public function fire() /** * Determine if the class already exists. * - * @param string $name - * + * @param string $name * @return bool */ protected function alreadyExists($name) @@ -98,8 +97,7 @@ protected function alreadyExists($name) /** * Get the destination class path. * - * @param string $name - * + * @param string $name * @return string */ protected function getPath($name) @@ -110,8 +108,7 @@ protected function getPath($name) /** * Build the class with the given name. * - * @param string $name - * + * @param string $name * @return string */ protected function buildClass($name)