-
Notifications
You must be signed in to change notification settings - Fork 424
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 unnecessary return statements #471
Conversation
`return;` is unnecessary if it is the last statement in a `void` method
Codecov Report
@@ Coverage Diff @@
## dev #471 +/- ##
============================================
+ Coverage 46.26% 46.28% +0.01%
- Complexity 2201 2203 +2
============================================
Files 108 108
Lines 25227 25226 -1
Branches 4172 4172
============================================
+ Hits 11672 11675 +3
+ Misses 11538 11537 -1
+ Partials 2017 2014 -3
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## dev #471 +/- ##
============================================
+ Coverage 46.26% 46.28% +0.01%
- Complexity 2201 2203 +2
============================================
Files 108 108
Lines 25227 25226 -1
Branches 4172 4172
============================================
+ Hits 11672 11675 +3
+ Misses 11538 11537 -1
+ Partials 2017 2014 -3
Continue to review full report at Codecov.
|
return;
is unnecessary if it is the last statement in avoid
method