Passed
Push — master ( 9ce9b4...b185d8 )
by Stream
07:36 queued 03:17
created
src/Controllers/ResizeController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
         $image_path = $this->lfm->setName(request('img'))->path('absolute');
59 59
         $resize_path = $image_path;
60 60
 
61
-        if (! $overWrite) {
61
+        if (!$overWrite) {
62 62
             $fileParts = explode('.', $image_name);
63
-            $fileParts[count($fileParts) - 2] = $fileParts[count($fileParts) - 2] . '_resized_' . time();
63
+            $fileParts[ count($fileParts) - 2 ] = $fileParts[ count($fileParts) - 2 ] . '_resized_' . time();
64 64
             $resize_path = $this->lfm->setName(implode('.', $fileParts))->path('absolute');
65 65
         }
66 66
 
Please login to merge, or discard this patch.