@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $stableVersions = $versions->matching(new class implements ConstraintInterface { |
31 | 31 | public function assert(Version $version) : bool |
32 | 32 | { |
33 | - return ! $version->isPreRelease(); |
|
33 | + return !$version->isPreRelease(); |
|
34 | 34 | } |
35 | 35 | }); |
36 | 36 | |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | new ComparisonConstraint(ComparisonConstraint::OPERATOR_LTE, $lastVersion), |
46 | 46 | new ComparisonConstraint( |
47 | 47 | ComparisonConstraint::OPERATOR_GTE, |
48 | - Version::fromString($lastVersion->getMajor() . '.' . $lastVersion->getMinor() . '.0') |
|
48 | + Version::fromString($lastVersion->getMajor().'.'.$lastVersion->getMinor().'.0') |
|
49 | 49 | ) |
50 | 50 | )) |
51 | 51 | ->sortedAscending(); |