Skip to content

Commit

Permalink
Use of constant gives errors
Browse files Browse the repository at this point in the history
  • Loading branch information
endroid committed May 7, 2018
1 parent 58a9154 commit 15411c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Writer/PngWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15411c9

Please sign in to comment.