@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Kata\Algorithm; |
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 Kata\Algorithm; |
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 Kata\Algorithm; |
6 | 6 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | foreach ($this->peopleByAgeDifferenceCollection as $firstPerson) { |
27 | 27 | /** @var Person $secondPerson */ |
28 | 28 | foreach ($this->peopleByAgeDifferenceCollection as $secondPerson) { |
29 | - if ($firstPerson->equals($secondPerson)){ |
|
29 | + if ($firstPerson->equals($secondPerson)) { |
|
30 | 30 | continue; |
31 | 31 | } |
32 | 32 | $peopleByAgeDifference = new PeopleByAgeDifference(); |