mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
DX: apply rector rulesset up to PHP72
This commit is contained in:
@@ -435,7 +435,7 @@ class SpreadSheetFormatter implements FormatterInterface
|
||||
* Get the displayable result.
|
||||
*
|
||||
* @param string $key
|
||||
* @param string $value
|
||||
* @param mixed $value
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -445,7 +445,7 @@ class SpreadSheetFormatter implements FormatterInterface
|
||||
$this->initializeCache($key);
|
||||
}
|
||||
|
||||
$value = null === $value ? '' : $value;
|
||||
$value = $value ?? '';
|
||||
|
||||
return call_user_func($this->cacheDisplayableResult[$key], $value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user