Skip to content

Conversation

@nikazooz
Copy link
Contributor

@nikazooz nikazooz commented Jun 4, 2020

This PR moves content of else outside the condition and removes else when we have early returns. Supposedly, it makes the code look cleaner 🙂

Cheers!

@nikazooz nikazooz changed the title Remove else when we have early return [7.x] Remove else when we have early return Jun 4, 2020
@GrahamCampbell
Copy link
Collaborator

Thanks, but this isn't needed. Both this PR and the PR that does the opposite would be valid, and we'd only keep swapping between then if we accepted PRs like this.

@nikazooz nikazooz deleted the formatting/remove-unneeded-else branch June 4, 2020 15:29
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