diff --git a/src/Enum.php b/src/Enum.php index b8b9327..92a42a4 100644 --- a/src/Enum.php +++ b/src/Enum.php @@ -62,7 +62,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); }