mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
fix(photos): replace real
with float
`real` is deprecated since PHP 8.0
This commit is contained in:
parent
a13d62e8fd
commit
188768594b
1 changed files with 1 additions and 1 deletions
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue