Passed
Push — master ( c0e553...bb463c )
by refat
03:37
created
Core/System/Application.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,9 @@  discard block
 block discarded – undo
59 59
 
60 60
     $this->file->call($this->file->to('config/constant.php'));
61 61
 
62
-    foreach (glob("routes/**/*.php") as $route) $this->file->call($this->file->to($route));
62
+    foreach (glob("routes/**/*.php") as $route) {
63
+        $this->file->call($this->file->to($route));
64
+    }
63 65
 
64 66
     $output = $this->route->getProperRoute();
65 67
 
@@ -82,7 +84,9 @@  discard block
 block discarded – undo
82 84
 
83 85
   public function share($key, $value)
84 86
   {
85
-    if ($value instanceof Closure) $value = call_user_func($value, $this);
87
+    if ($value instanceof Closure) {
88
+        $value = call_user_func($value, $this);
89
+    }
86 90
 
87 91
     $this->container[$key] = $value;
88 92
   }
Please login to merge, or discard this patch.
Core/System/Cookie.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,9 @@
 block discarded – undo
46 46
 
47 47
   public function destroy()
48 48
   {
49
-    foreach (array_keys($this->all()) as $key) $this->remove($key);
49
+    foreach (array_keys($this->all()) as $key) {
50
+        $this->remove($key);
51
+    }
50 52
 
51 53
     unset($_COOKIE);
52 54
   }
Please login to merge, or discard this patch.