Passed
Pull Request — master (#4)
by
unknown
10:47
created
src/Twig/Base64ImageExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@
 block discarded – undo
23 23
     public function getFilters(): array
24 24
     {
25 25
         return [
26
-          new TwigFilter('image64', [$this, 'createBase64Image']),
26
+          new TwigFilter('image64', [ $this, 'createBase64Image' ]),
27 27
         ];
28 28
     }
29 29
 
30 30
     public function createBase64Image(string $image): string
31 31
     {
32
-        return $this->fileConverter->convert($_SERVER['DOCUMENT_ROOT'] . $image);
32
+        return $this->fileConverter->convert($_SERVER[ 'DOCUMENT_ROOT' ] . $image);
33 33
     }
34 34
 }
Please login to merge, or discard this patch.