We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6711cc3 commit 30eb46cCopy full SHA for 30eb46c
src/inc/Util.class.php
@@ -942,10 +942,10 @@ public static function getStaticArray($val, $id) {
942
* @return int
943
*/
944
public static function versionComparisonBinary($binary1, $binary2) {
945
- if (Comparator::greaterThan($binary1->getVersion(), $binary2->getVersion()){
+ if (Comparator::greaterThan($binary1->getVersion(), $binary2->getVersion())){
946
return 1;
947
}
948
- else if (Comparator::lessThan($binary1->getVersion(), $binary2->getVersion()){
+ else if (Comparator::lessThan($binary1->getVersion(), $binary2->getVersion())){
949
return -1;
950
951
return 0;
0 commit comments