Fixed config file being deleted by mistake by build script

This commit is contained in:
Alejandro Celaya
2019-01-28 10:52:05 +01:00
parent 05695e8cd6
commit d289c62532
8 changed files with 13 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ use function sprintf;
class PreviewGenerationException extends RuntimeException
{
public static function fromImageError($error)
public static function fromImageError(string $error): self
{
return new self(sprintf('Error generating a preview image with error: %s', $error));
}