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:
commit
029c8ee97a
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in New Issue