Passed
Push — develop ( 7465df...dfbdff )
by Johnny
02:33
created
src/Cortex/ContentLoader/ContentLoader.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,9 @@
 block discarded – undo
111 111
     public function loadDirectory(string $path)
112 112
     {
113 113
         foreach (new DirectoryIterator($path) as $file) {
114
-            if ($file->isDot())
115
-                continue;
114
+            if ($file->isDot()) {
115
+                            continue;
116
+            }
116 117
 
117 118
             $this->loadFile($file->getPathname());
118 119
         }
Please login to merge, or discard this patch.
src/Cortex/ContentLoader/ContentStream.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,9 @@
 block discarded – undo
147 147
                 return false;
148 148
         }
149 149
         $ret = ($newPos >= 0 && $newPos <= $l);
150
-        if ($ret) $p = $newPos;
150
+        if ($ret) {
151
+            $p = $newPos;
152
+        }
151 153
         return $ret;
152 154
     }
153 155
 }
Please login to merge, or discard this patch.