Passed
Push — master ( d69110...dabd68 )
by Andreas
25:25
created
lib/midcom/helper/imagepopup/handler/upload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $temp = $request->files->get('file');
23 23
 
24 24
         // Verify file extension
25
-        if (   !$temp instanceof UploadedFile
25
+        if (!$temp instanceof UploadedFile
26 26
             || !in_array(strtolower($temp->getClientOriginalExtension()), ["gif", "jpg", "png"])) {
27 27
                 throw new midcom_error('Invalid extension.');
28 28
         }
Please login to merge, or discard this patch.