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