Last scalar return types

This commit is contained in:
Adrien Crivelli
2023-12-10 19:48:32 +01:00
parent 816b91d0b4
commit 72d32662c8
2 changed files with 1 additions and 6 deletions
@@ -226,9 +226,6 @@ class Functions
return $flattened;
}
/**
* @return null|mixed
*/
public static function scalar(mixed $value): mixed
{
if (!is_array($value)) {
+1 -3
View File
@@ -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);
}