Completed
Branch master (5ee980)
by Vladimir
04:05
created
src/Twig/OrderFilter.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,9 @@
 block discarded – undo
12 12
             $a = ($a instanceof ContentItem) ? $a->getFrontMatter() : $a;
13 13
             $b = ($b instanceof ContentItem) ? $b->getFrontMatter() : $b;
14 14
 
15
-            if ($a[$key] == $b[$key]) return 0;
15
+            if ($a[$key] == $b[$key]) {
16
+                return 0;
17
+            }
16 18
 
17 19
             if (strtolower($order) === "desc") {
18 20
                 return ($a[$key] < $b[$key]) ? 1 : -1;
Please login to merge, or discard this patch.
src/System/Folder.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@  discard block
 block discarded – undo
25 25
         if (substr($folderPath, 0, 1) === DIRECTORY_SEPARATOR)
26 26
         {
27 27
             $this->absolutePath = $folderPath;
28
-        }
29
-        else
28
+        } else
30 29
         {
31 30
             $this->absolutePath = $this->fs->absolutePath($folderPath);
32 31
         }
@@ -55,8 +54,7 @@  discard block
 block discarded – undo
55 54
         if (is_null($folderName) || empty($folderName))
56 55
         {
57 56
             $this->targetDirectories = array();
58
-        }
59
-        else
57
+        } else
60 58
         {
61 59
             $this->targetDirectories[] = trim($folderName, DIRECTORY_SEPARATOR);
62 60
         }
Please login to merge, or discard this patch.