From 4fe1bf8f4f1ba130334b9201d8f7797eeb6214fa Mon Sep 17 00:00:00 2001 From: Leonard Challis Date: Fri, 7 Oct 2022 14:29:12 +0100 Subject: [PATCH] Fix make:cast --inbound so it's a boolean option, not value --- src/Illuminate/Foundation/Console/CastMakeCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Console/CastMakeCommand.php b/src/Illuminate/Foundation/Console/CastMakeCommand.php index 39be209a99b0..2704360611d7 100644 --- a/src/Illuminate/Foundation/Console/CastMakeCommand.php +++ b/src/Illuminate/Foundation/Console/CastMakeCommand.php @@ -86,7 +86,7 @@ protected function getOptions() { return [ ['force', 'f', InputOption::VALUE_NONE, 'Create the class even if the cast already exists'], - ['inbound', null, InputOption::VALUE_OPTIONAL, 'Generate an inbound cast class'], + ['inbound', null, InputOption::VALUE_NONE, 'Generate an inbound cast class'], ]; } }