Merge branch '3.1' into 4.0

* 3.1:
  Suppress warning
  Suppress warning
  Use SplObjectStorage::offsetSet() instead of deprecated SplObjectStorage::attach()
This commit is contained in:
Sebastian Bergmann 2025-09-24 08:03:00 +02:00
commit 029c8ee97a
No known key found for this signature in database
GPG Key ID: 4AA394086372C20A
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ class Exporter
ini_set('precision', '-1');
try {
$valueStr = (string) $value;
$valueStr = @(string) $value;
if ((string) @(int) $value === $valueStr) {
return $valueStr . '.0';