Merge pull request #9932 from jrfnl/php-8.1/9931-fix-deprecation-notice

PHP 8.1 | Fix "Implicit conversion from non-compatible float" deprecation notice
main
Jordi Boggiano 3 years ago committed by GitHub
commit 61c7762680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -97,7 +97,7 @@ class Version
return sprintf(
'%d.%d.%d',
$versionId / ($base * $base),
($versionId / $base) % $base,
(int) ($versionId / $base) % $base,
$versionId % $base
);
}

Loading…
Cancel
Save