Completed
Push — master ( e940cd...8cef2f )
by Dmitry
02:02
created
lib/Handler/ImageHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
             $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION));
34 34
 
35
-            if($handlers[$ext]) {
35
+            if ($handlers[$ext]) {
36 36
 
37 37
                 switch ($ext) {
38 38
                     case 'png':
@@ -40,12 +40,12 @@  discard block
 block discarded – undo
40 40
                         break;
41 41
                     case 'jpg':
42 42
                     case 'jpeg':
43
-                        $command =  sprintf($this->args[$ext], escapeshellarg($file), escapeshellarg($file . ".original"));
43
+                        $command = sprintf($this->args[$ext], escapeshellarg($file), escapeshellarg($file . ".original"));
44 44
                         break;
45 45
                 }
46 46
                 if (!file_exists($file . ".original") && $command) {
47 47
                     copy($file, $file . ".original");
48
-                    exec($handlers[$ext]  . $command);
48
+                    exec($handlers[$ext] . $command);
49 49
                 }
50 50
 
51 51
             } else {
Please login to merge, or discard this patch.