diff --git a/src/Enum.php b/src/Enum.php index 8cbd3c4..8e943b7 100644 --- a/src/Enum.php +++ b/src/Enum.php @@ -313,10 +313,7 @@ private static function arrayHasDuplicates(array $array): bool return count($array) > count(array_unique($array)); } - /** - * @return int|string - * #[\ReturnTypeWillChange] - */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->value;