8000 [9.x] Fixes `Command::setHidden()` by nunomaduro · Pull Request #40415 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

[9.x] Fixes Command::setHidden() #40415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 14, 2022
Merged

[9.x] Fixes Command::setHidden() #40415

merged 1 commit into from
Jan 14, 2022

Conversation

nunomaduro
Copy link
Member

This pull request fixes the Command::setHidden() method that was not actually hidden the command from the list command.

This regression was introduced on the #37941 pull request, and I've added a few tests to ensure this don't happen in the future.

@driesvints
Copy link
Member

I'm not entirely sure why I removed it in that PR. I thought there was a good reason for.

@owenvoke
Copy link
Contributor

Thanks for adding this back Nuno. 👍🏻

@taylorotwell taylorotwell merged commit 17831c2 into 9.x Jan 14, 2022
@taylorotwell
Copy link
Member

@driesvints I think we thought it was a no-op because the code looks the exact same as the parent class. But apparently it's not.😅

@taylorotwell taylorotwell deleted the fix/command-is-hidden branch January 14, 2022 12:39
@driesvints
Copy link
Member

hmm yeah that could indeed be it.

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.

4 participants
0