@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace drupol\phpartition; |
| 6 | 6 | |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | |
| 94 | 94 | \usort( |
| 95 | 95 | $solutions, |
| 96 | - static function (array $x, array $y) { |
|
| 96 | + static function(array $x, array $y) { |
|
| 97 | 97 | return $x[0] <=> $y[0]; |
| 98 | 98 | } |
| 99 | 99 | ); |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace drupol\phpartition\Partition; |
| 6 | 6 | |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | public function exportArrayCopy() |
| 19 | 19 | { |
| 20 | 20 | return \array_map( |
| 21 | - static function (Valuable $item) { |
|
| 21 | + static function(Valuable $item) { |
|
| 22 | 22 | return $item->getValue(); |
| 23 | 23 | }, |
| 24 | 24 | $this->getArrayCopy() |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace drupol\phpartition\Partition; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace drupol\phpartition\Partitions; |
| 6 | 6 | |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | public function sort(callable $compareCallable = null) |
| 65 | 65 | { |
| 66 | 66 | if (null === $compareCallable) { |
| 67 | - $compareCallable = static function (Partition $item1, Partition $item2) { |
|
| 67 | + $compareCallable = static function(Partition $item1, Partition $item2) { |
|
| 68 | 68 | return $item1->getWeight() <=> $item2->getWeight(); |
| 69 | 69 | }; |
| 70 | 70 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace drupol\phpartition\Partitions; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace drupol\phpartition\Contract; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace drupol\phpartition\Contract; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace drupol\phpartition\Contract; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace drupol\phpartition\Contract; |
| 6 | 6 | |