Passed
Push — master ( ea64ab...0482fa )
by Daan
01:28
created
src/Year2015/Day1.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,9 @@
 block discarded – undo
43 43
 
44 44
     public function calculateFirstBasementDirectionPosition(int $floor = self::STARTING_FLOOR): int
45 45
     {
46
-        if ($floor < 0) return 0;
46
+        if ($floor < 0) {
47
+            return 0;
48
+        }
47 49
 
48 50
         $basementPostion = 1;
49 51
         $inBasement = false;
Please login to merge, or discard this patch.