Completed
Push — master ( 8d310d...044627 )
by Giancarlos
03:45
created
src/Report/Filter/ImageFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,13 +24,13 @@
 block discarded – undo
24 24
         }
25 25
         $content = base64_encode($image);
26 26
 
27
-        return 'data:image/'.$mime.';base64,'.$content;
27
+        return 'data:image/' . $mime . ';base64,' . $content;
28 28
     }
29 29
 
30 30
     public function getMimeType($raw)
31 31
     {
32 32
         $text = substr($raw, 0, 8);
33
-        if ($text == "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A"){
33
+        if ($text == "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A") {
34 34
             return 'png';
35 35
         }
36 36
 
Please login to merge, or discard this patch.