Merge pull request #9932 from jrfnl/php-8.1/9931-fix-deprecation-notice
PHP 8.1 | Fix "Implicit conversion from non-compatible float" deprecation noticepull/9935/head
commit
61c7762680
|
@ -97,7 +97,7 @@ class Version
|
|||
return sprintf(
|
||||
'%d.%d.%d',
|
||||
$versionId / ($base * $base),
|
||||
($versionId / $base) % $base,
|
||||
(int) ($versionId / $base) % $base,
|
||||
$versionId % $base
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue