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

QA: remove unnecessary comparison in return #95

Merged
merged 1 commit into from
Jan 15, 2020

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Jan 15, 2020

Further iteration on #93

As version_compare() can return boolean when the third parameter is used, there is no need for the compare here anyway.

Ref: https://www.php.net/manual/en/function.version-compare.php#refsect1-function.version-compare-returnvalues

As `version_compare()` can return boolean when the third parameter is used, there is no need for the compare here anyway.

Ref: https://www.php.net/manual/en/function.version-compare.php#refsect1-function.version-compare-returnvalues
@jrfnl jrfnl added this to the Next release milestone Jan 15, 2020
@jrfnl jrfnl merged commit 49c8f5a into master Jan 15, 2020
@jrfnl jrfnl deleted the JRF/QA/minor-simplification branch January 15, 2020 15:35
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.

1 participant