Skip to content

[9.x] Fix make:cast --inbound so it's a boolean option, not value - #44505

Merged
taylorotwell merged 1 commit into
laravel:9.xfrom
legecha:9.x
Oct 7, 2022
Merged

taylorotwell merged 1 commit into
laravel:9.xfrom
legecha:9.x

Conversation

@legecha

@legecha legecha commented Oct 7, 2022

Copy link
Copy Markdown
Contributor

The php artisan make:cast --inbound option is currently ineffective unless you pass a value (--inbound=INBOUND) because it uses InputOption::VALUE_OPTIONAL.

I've changed this to VALUE_NONE, as --force and similar work, to reflect what is expected.

@taylorotwell
taylorotwell merged commit f529020 into laravel:9.x Oct 7, 2022
@GrahamCampbell GrahamCampbell changed the title Fix make:cast --inbound so it's a boolean option, not value [9.x] Fix make:cast --inbound so it's a boolean option, not value Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants