@@ -23,12 +23,12 @@ |
||
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 | } |