mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-23 16:21:22 +02:00
Merge pull request #230 from diogocavilha/master
Update DateComparator.php
This commit is contained in:
@@ -17,8 +17,8 @@ class DateComparator implements ComparatorInterface
|
||||
|
||||
if ($aDate == $bDate) {
|
||||
return 0;
|
||||
} else {
|
||||
return $aDate < $bDate ? -1 : 1;
|
||||
}
|
||||
|
||||
return $aDate < $bDate ? -1 : 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user