From 15411c93fa91c0d0c25d98b08a3d5cc9de720fc7 Mon Sep 17 00:00:00 2001 From: endroid Date: Mon, 7 May 2018 16:04:16 +0000 Subject: [PATCH] Use of constant gives errors --- src/Writer/PngWriter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Writer/PngWriter.php b/src/Writer/PngWriter.php index 4c1da18..61253cb 100644 --- a/src/Writer/PngWriter.php +++ b/src/Writer/PngWriter.php @@ -159,7 +159,7 @@ private function imageToString($image): string public static function getContentType(): string { - return IMAGETYPE_PNG; + return 'image/png'; } public static function getSupportedExtensions(): array