@@ -21,12 +21,12 @@ |
||
| 21 | 21 | /** @var Location $location */ |
| 22 | 22 | foreach ($map->toArray() as $location) { |
| 23 | 23 | if (!$location->getBiom()->equals($firstBiom)) { |
| 24 | - $locationsAreSame = false; |
|
| 24 | + $locationsAreSame = false; |
|
| 25 | 25 | } |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | if ($map->count() == 8 && $locationsAreSame) { |
| 29 | - return $firstBiom; |
|
| 29 | + return $firstBiom; |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | throw new UnimplementedException(); |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | public function add($element): bool |
| 24 | 24 | { |
| 25 | 25 | if (!$element instanceof Location) { |
| 26 | - throw new InvalidTypeException(); |
|
| 26 | + throw new InvalidTypeException(); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | return parent::add($element); |