Completed
Push — 4.0 ( 53586d...4a5124 )
by Marco
11:49
created
src/Router/RoutingTable.php 1 patch
Braces   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -73,10 +73,11 @@  discard block
 block discarded – undo
73 73
 
74 74
         $regex = $this->readpath($folders);
75 75
 
76
-        if (isset($this->routes[$regex]))
77
-            return $this->routes[$regex];
78
-        else
79
-            return null;
76
+        if (isset($this->routes[$regex])) {
77
+                    return $this->routes[$regex];
78
+        } else {
79
+                    return null;
80
+        }
80 81
 
81 82
     }
82 83
 
@@ -86,7 +87,9 @@  discard block
 block discarded – undo
86 87
 
87 88
         $regex = $this->readpath($folders);
88 89
 
89
-        if (isset($this->routes[$regex])) unset($this->routes[$regex]);
90
+        if (isset($this->routes[$regex])) {
91
+            unset($this->routes[$regex]);
92
+        }
90 93
 
91 94
     }
92 95
 
Please login to merge, or discard this patch.