@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | /** {@inheritDoc} */ |
| 33 | - public function first(): ?Location |
|
| 33 | + public function first(): ? Location |
|
| 34 | 34 | { |
| 35 | 35 | $firstLocation = parent::first(); |
| 36 | 36 | |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | { |
| 46 | 46 | // filtering north, north-west, north-east and west locations by X and Y |
| 47 | 47 | $previousLocations = $this->filter( |
| 48 | - function (Location $location) use ($x, $y) { |
|
| 48 | + function(Location $location) use ($x, $y) { |
|
| 49 | 49 | $westLocationX = $x - 1; |
| 50 | 50 | $westLocationY = $y; |
| 51 | 51 | $northWestLocationX = $x - 1; |