fix(photos): replace real with float

`real` is deprecated since PHP 8.0
This commit is contained in:
Alexander Minkin 2024-07-10 23:19:32 +03:00
parent a13d62e8fd
commit 188768594b
Signed by untrusted user: WerySkok
GPG key ID: 88E9A2F3AFE44C30

View file

@ -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"];