diff --git a/src/Enum.php b/src/Enum.php index f5a5940..9b07191 100644 --- a/src/Enum.php +++ b/src/Enum.php @@ -54,7 +54,6 @@ public function __construct($value) } if (!$this->isValid($value)) { - /** @psalm-suppress InvalidCast */ throw new \UnexpectedValueException("Value '$value' is not part of the enum " . static::class); }