From 17a60f24e85afa288caf2505ade406aa97a0f602 Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Wed, 30 Mar 2022 16:52:14 +0300 Subject: [PATCH] Global: Fix photo uploads Resolves #524 --- Web/Models/Entities/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Models/Entities/Photo.php b/Web/Models/Entities/Photo.php index 75f06805..ed8dc7ba 100644 --- a/Web/Models/Entities/Photo.php +++ b/Web/Models/Entities/Photo.php @@ -84,7 +84,7 @@ class Photo extends Media return $res; } - static function fastMake(int $owner, array $file, string $description = "", ?Album $album = NULL, bool $anon = false): Photo + static function fastMake(int $owner, string $description = "", array $file, ?Album $album = NULL, bool $anon = false): Photo { $photo = new static; $photo->setOwner($owner);