Passed
Pull Request — master (#3)
by Ronan
07:33
created
src/File.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
                 if (!static::cp($source . '/' . $file, $dest . '/' . $file)) {
62 62
                     return false;
63 63
                 }
64
-            }
65
-            else {
64
+            } else {
66 65
                 if (!copy($source . '/' . $file, $dest . '/' . $file)) {
67 66
                     return false;
68 67
                 }
@@ -108,8 +107,7 @@  discard block
 block discarded – undo
108 107
                 if (!static::rm($thisPath)) {
109 108
                     return false;
110 109
                 }
111
-            }
112
-            else {
110
+            } else {
113 111
                 if (!unlink($thisPath)) {
114 112
                     return false;
115 113
                 }
Please login to merge, or discard this patch.