diff --git a/src/Console/BatchesTableCommand.php b/src/Console/BatchesTableCommand.php index 91b266a..aa58edc 100644 --- a/src/Console/BatchesTableCommand.php +++ b/src/Console/BatchesTableCommand.php @@ -22,7 +22,6 @@ class BatchesTableCommand extends \Illuminate\Queue\Console\BatchesTableCommand * @param \Illuminate\Support\Composer $composer * @return void */ - #[\Override] public function __construct(Filesystem $files, Composer $composer) { parent::__construct($files, $composer); diff --git a/src/Console/CacheTableCommand.php b/src/Console/CacheTableCommand.php index a39723d..932ca49 100644 --- a/src/Console/CacheTableCommand.php +++ b/src/Console/CacheTableCommand.php @@ -22,7 +22,6 @@ class CacheTableCommand extends \Illuminate\Cache\Console\CacheTableCommand * @param \Illuminate\Support\Composer $composer * @return void */ - #[\Override] public function __construct(Filesystem $files, Composer $composer) { parent::__construct($files, $composer); @@ -36,6 +35,7 @@ public function __construct(Filesystem $files, Composer $composer) * @param string $table * @return string */ + #[\Override] protected function createBaseMigration($table) { return $this->createBaseMigrationUsingCanvas($table); @@ -47,6 +47,7 @@ protected function createBaseMigration($table) * @param string $table * @return bool */ + #[\Override] protected function migrationExists($table) { return $this->migrationExistsUsingCanvas($table); diff --git a/src/Console/CastMakeCommand.php b/src/Console/CastMakeCommand.php index 12cfc7b..d6491c8 100644 --- a/src/Console/CastMakeCommand.php +++ b/src/Console/CastMakeCommand.php @@ -21,7 +21,6 @@ class CastMakeCommand extends \Illuminate\Foundation\Console\CastMakeCommand * * @return void */ - #[\Override] public function __construct(Filesystem $files) { parent::__construct($files); diff --git a/src/Console/ChannelMakeCommand.php b/src/Console/ChannelMakeCommand.php index 60f03a0..dc5cf6f 100644 --- a/src/Console/ChannelMakeCommand.php +++ b/src/Console/ChannelMakeCommand.php @@ -23,7 +23,6 @@ class ChannelMakeCommand extends \Illuminate\Foundation\Console\ChannelMakeComma * * @return void */ - #[\Override] public function __construct(Filesystem $files) { parent::__construct($files); diff --git a/src/Console/CodeMakeCommand.php b/src/Console/CodeMakeCommand.php index f12b0d5..32533d3 100644 --- a/src/Console/CodeMakeCommand.php +++ b/src/Console/CodeMakeCommand.php @@ -43,6 +43,7 @@ protected function resolveDefaultStubPath($stub) * * @return array */ + #[\Override] protected function getOptions() { return [ diff --git a/src/Console/ComponentMakeCommand.php b/src/Console/ComponentMakeCommand.php index 7efe5df..060ff1b 100644 --- a/src/Console/ComponentMakeCommand.php +++ b/src/Console/ComponentMakeCommand.php @@ -23,7 +23,6 @@ class ComponentMakeCommand extends \Illuminate\Foundation\Console\ComponentMakeC * * @return void */ - #[\Override] public function __construct(Filesystem $files) { parent::__construct($files); diff --git a/src/Console/ControllerMakeCommand.php b/src/Console/ControllerMakeCommand.php index 4ec1b0a..fa8adbc 100644 --- a/src/Console/ControllerMakeCommand.php +++ b/src/Console/ControllerMakeCommand.php @@ -37,6 +37,7 @@ public function __construct(Filesystem $files) * * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException */ + #[\Override] public function handle() { return $this->generateCode() ? self::SUCCESS : self::FAILURE; @@ -48,6 +49,7 @@ public function handle() * @param string $model * @return string */ + #[\Override] protected function qualifyModel(string $model) { return $this->qualifyModelUsingCanvas($model); @@ -58,6 +60,7 @@ protected function qualifyModel(string $model) * * @return array */ + #[\Override] protected function buildParentReplacements() { $parentModelClass = $this->parseModel($this->option('parent')); @@ -86,6 +89,7 @@ protected function buildParentReplacements() * @param array $replace * @return array */ + #[\Override] protected function buildModelReplacements(array $replace) { $modelClass = $this->parseModel($this->option('model')); @@ -121,6 +125,7 @@ protected function buildModelReplacements(array $replace) * @param string $name * @return string */ + #[\Override] protected function getPath($name) { return $this->getPathUsingCanvas($name); @@ -131,6 +136,7 @@ protected function getPath($name) * * @return string */ + #[\Override] protected function rootNamespace() { return $this->rootNamespaceUsingCanvas(); @@ -141,6 +147,7 @@ protected function rootNamespace() * * @return array */ + #[\Override] protected function possibleModels() { return $this->possibleModelsUsingCanvas(); @@ -154,6 +161,7 @@ protected function possibleModels() * @param string $updateRequestClass * @return array */ + #[\Override] protected function generateFormRequests($modelClass, $storeRequestClass, $updateRequestClass) { $storeRequestClass = 'Store'.class_basename($modelClass).'Request';