Skip to content

Conversation

@regularlabs
Copy link
Contributor

Refactors the if structure in Parser::parseOption by placing the default $shortcut assignment before the if statement.
This eliminates the use of the else keyword.

Refactors the `if` structure in `Parser::parseOption` by placing the default `$shortcut` assignment before the `if` statement.
This eliminates the use of the `else` keyword.
@taylorotwell
Copy link
Member

Unless it fixes a bug I don't typically merge these kinds of changes.

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