Skip to content

[11.x] Fixes regression with queue:work Command#53076

Merged
crynobone merged 1 commit into11.xfrom
regression-53072
Oct 9, 2024
Merged

[11.x] Fixes regression with queue:work Command#53076
crynobone merged 1 commit into11.xfrom
regression-53072

Conversation

@crynobone
Copy link
Copy Markdown
Member

@crynobone crynobone commented Oct 9, 2024

hasOption() will always return true if it is define, this cause Laravel Framework 11.27.1 installation to always output using json.

v11.27.0

CleanShot 2024-10-09 at 12 07 03

v11.27.1

CleanShot 2024-10-09 at 12 07 27

option exists in the definition

`hasOption()` will always return true if it is define, this cause
Laravel Framework 11.27.1 installation to always output using json.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@crynobone crynobone marked this pull request as ready for review October 9, 2024 03:54
@crynobone crynobone changed the title [11.x] Fixes regression when using Command::hasOption('json') when the option exists in the definition [11.x] Fixes regression with queue:work Command Oct 9, 2024
@crynobone crynobone merged commit a143a77 into 11.x Oct 9, 2024
@crynobone crynobone deleted the regression-53072 branch October 9, 2024 07:22
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.

1 participant