Passed
Push — master ( de9c67...a3e5b5 )
by Petr
06:02
created
src/Entity/Map.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.