take into account null value in formatter

This commit is contained in:
Julie Lenaerts 2022-11-25 14:15:56 +01:00
parent 15c304b1d1
commit 24833be681

View File

@ -445,6 +445,8 @@ class SpreadSheetFormatter implements FormatterInterface
$this->initializeCache($key);
}
$value = null === $value ? '' : $value;
return call_user_func($this->cacheDisplayableResult[$key], $value);
}