mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-16 21:16:57 +00:00
Last scalar return types
This commit is contained in:
@@ -226,9 +226,6 @@ class Functions
|
||||
return $flattened;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return null|mixed
|
||||
*/
|
||||
public static function scalar(mixed $value): mixed
|
||||
{
|
||||
if (!is_array($value)) {
|
||||
|
||||
@@ -464,10 +464,8 @@ abstract class Properties
|
||||
|
||||
/**
|
||||
* Get Glow Color Property.
|
||||
*
|
||||
* @return null|int|string
|
||||
*/
|
||||
public function getGlowColor(string $propertyName)
|
||||
public function getGlowColor(string $propertyName): null|int|string
|
||||
{
|
||||
return $this->glowColor->getColorProperty($propertyName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user