From b893719cd8d7aa6eaeee43175e359d60afdd0f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 2 Nov 2023 23:09:16 +0100 Subject: [PATCH] Fix ResourceMake --- src/Console/Commands/ResourceMake.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Commands/ResourceMake.php b/src/Console/Commands/ResourceMake.php index ff3f6da5..f3cd1377 100644 --- a/src/Console/Commands/ResourceMake.php +++ b/src/Console/Commands/ResourceMake.php @@ -78,7 +78,7 @@ public function replaceModel(string $class): string protected function getOptions(): array { return [ - ['model', null, InputOption::VALUE_OPTIONAL, 'The Eloquent Model'], + ['model', null, InputOption::VALUE_REQUIRED, 'The Eloquent Model'], ]; } }