@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * the LICENSE file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace SemVer\SemVer; |
| 15 | 15 | |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | { |
| 116 | 116 | usort( |
| 117 | 117 | $versions, |
| 118 | - function (Version $a, Version $b) { |
|
| 118 | + function(Version $a, Version $b) { |
|
| 119 | 119 | return $a->compare($b); |
| 120 | 120 | } |
| 121 | 121 | ); |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * the LICENSE file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace SemVer\SemVer\Exception; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * the LICENSE file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace SemVer\SemVer\Exception; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * the LICENSE file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace SemVer\SemVer\Exception; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * the LICENSE file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace SemVer\SemVer\Exception; |
| 15 | 15 | |
@@ -137,7 +137,7 @@ |
||
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | if ($mineIsInt) { |
| 140 | - return ((int)$identifier1) <=> ((int)$identifier2); |
|
| 140 | + return ((int) $identifier1) <=> ((int) $identifier2); |
|
| 141 | 141 | } |
| 142 | 142 | |
| 143 | 143 | return $identifier1 <=> $identifier2; |