From 188768594be560cba7d4a7af35872265b3e0930f Mon Sep 17 00:00:00 2001 From: Alexander Minkin Date: Wed, 10 Jul 2024 23:19:32 +0300 Subject: [PATCH] fix(photos): replace `real` with `float` `real` is deprecated since PHP 8.0 --- 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 4cba7734..3ea46939 100644 --- a/Web/Models/Entities/Photo.php +++ b/Web/Models/Entities/Photo.php @@ -114,7 +114,7 @@ class Photo extends Media return true; } - function crop(real $left, real $top, real $width, real $height): void + function crop(float $left, float $top, float $width, float $height): void { if(isset($this->changes["hash"])) $hash = $this->changes["hash"];