Skip to content
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

Remove redundant check and return early #7755

Merged
merged 1 commit into from
May 17, 2017
Merged

Remove redundant check and return early #7755

merged 1 commit into from
May 17, 2017

Conversation

AydinHassan
Copy link
Contributor

@AydinHassan AydinHassan commented Dec 12, 2016

Removed a redundant check and invert the check & return early.

Makes the code a bit easier to follow IMO.

@vrann vrann self-assigned this Mar 13, 2017
@vrann vrann added this to the March 2017 milestone Mar 13, 2017
@okorshenko okorshenko modified the milestones: March 2017, April 2017 Apr 2, 2017
@okorshenko okorshenko modified the milestones: April 2017, May 2017 May 9, 2017
@magento-team magento-team merged commit f288bfa into magento:develop May 17, 2017
@magento-team
Copy link
Contributor

@AydinHassan thank you for your contribution to Magento 2 project

magento-devops-reposync-svc pushed a commit that referenced this pull request Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants