Completed
Push — master ( 4fc578...451eab )
by Dmitry
02:14
created
lib/Handler/ImageHandler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
 
31 31
             $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION));
32 32
 
33
-            if($handlers[$ext]) {
34
-                echo get_class()." обрабатывает файл: $file\n";
33
+            if ($handlers[$ext]) {
34
+                echo get_class() . " обрабатывает файл: $file\n";
35 35
                 switch ($ext) {
36 36
                     case 'png':
37
-                        exec($handlers[$ext] . ' ' . $this->args[$ext]  . ' ' . escapeshellarg($file));
37
+                        exec($handlers[$ext] . ' ' . $this->args[$ext] . ' ' . escapeshellarg($file));
38 38
                         break;
39 39
                     case 'jpg':
40 40
                     case 'jpeg':
41
-                        exec($handlers[$ext]  . ' ' . $this->args[$ext]  . ' ' . escapeshellarg($file) . ' ' . escapeshellarg($file));
41
+                        exec($handlers[$ext] . ' ' . $this->args[$ext] . ' ' . escapeshellarg($file) . ' ' . escapeshellarg($file));
42 42
                         break;
43 43
                 }
44 44
             } else {
Please login to merge, or discard this patch.