Update deprecated php type casts (#3739)

In PHP 8.5, non-canonical scalar type casts (boolean|double|integer|binary) deprecated.

See https://php.watch/versions/8.5/boolean-double-integer-binary-casts-deprecated.
This commit is contained in:
colemanw
2026-04-17 08:37:45 -04:00
committed by GitHub
parent 67592ce5e9
commit 44aa9331ce
+1 -1
View File
@@ -4432,7 +4432,7 @@ var go = function() {
protected function utime()
{
$time = explode(" ", microtime());
return (double)$time[1] + (double)$time[0];
return (float)$time[1] + (float)$time[0];
}
/**