@@ -77,7 +77,7 @@ |
||
| 77 | 77 | * @return string |
| 78 | 78 | */ |
| 79 | 79 | public function getDirection() { |
| 80 | - return $this->direction; |
|
| 80 | + return $this->direction; |
|
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /** |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | $filter = function (VersionInterface $v) use ($target, $comparator, $direction) { |
| 48 | 48 | return ($direction->isUp() ^ $v->isMigrated()) // direction must be opposite to migration status |
| 49 | 49 | && $comparator->compare($v, $target) <= 0; // version must be before or be equal to target (not |
| 50 | - // affected by direction because comparator is reversed) |
|
| 50 | + // affected by direction because comparator is reversed) |
|
| 51 | 51 | }; |
| 52 | 52 | $collection = $collection->filter($filter)->sort($comparator); |
| 53 | 53 | |