From 1c8690a872729a96f737f6aa7dc5b769c73a85f6 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 4 Dec 2022 15:14:43 +0000 Subject: [PATCH] Fix calls for pictures without blurhash --- src/Model/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Photo.php b/src/Model/Photo.php index 6dd921283..f9940f51e 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -353,7 +353,7 @@ class Photo * @return array * @throws \Exception */ - public static function createPhotoForExternalResource(string $url, int $uid = 0, string $mimetype = '', string $blurhash = '', int $width = 0, int $height = 0): array + public static function createPhotoForExternalResource(string $url, int $uid = 0, string $mimetype = '', string $blurhash = null, int $width = null, int $height = null): array { if (empty($mimetype)) { $mimetype = Images::guessTypeByExtension($url);