@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | // Remove not stable packages if unwanted |
47 | 47 | if (true === $rootPackage->getPreferStable()) { |
48 | - $higherPackages = array_filter($higherPackages, function (PackageInterface $package) { |
|
48 | + $higherPackages = array_filter($higherPackages, function(PackageInterface $package) { |
|
49 | 49 | return 'stable' === $package->getStability(); |
50 | 50 | }); |
51 | 51 | } |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | // We got higher packages! Let's push it. |
54 | 54 | if (count($higherPackages) > 0) { |
55 | 55 | // Sort packages by highest version to lowest |
56 | - usort($higherPackages, function (PackageInterface $p1, PackageInterface $p2) { |
|
56 | + usort($higherPackages, function(PackageInterface $p1, PackageInterface $p2) { |
|
57 | 57 | return Comparator::compare($p1->getVersion(), '<', $p2->getVersion()); |
58 | 58 | }); |
59 | 59 |