Skip to content

Conversation

@regularlabs
Copy link
Contributor

@regularlabs regularlabs commented May 2, 2017

Refactors the if/ifelse statement in the Command::parseVerbosity method to use early returns.
This makes it more readable and removes the use of the else keyword.

Refactors the `if/ifelse` statement in the `parseVerbosity` method to use early returns.
This makes it more readable and removes the use of the `else` keyword.
@regularlabs regularlabs changed the title [5.4] Refactors if structure in parseVerbosity [5.4] Refactors if structure in Command::parseVerbosity May 2, 2017
@regularlabs regularlabs changed the title [5.4] Refactors if structure in Command::parseVerbosity [5.4] Refactors if structure May 2, 2017
@taylorotwell
Copy link
Member

I don't make these kind of changes often without clear fixes.

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