We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d178027 + 21d62a6 commit 616601dCopy full SHA for 616601d
src/Enum.php
@@ -62,7 +62,6 @@ public function __construct($value)
62
}
63
64
if (!$this->isValid($value)) {
65
- /** @psalm-suppress InvalidCast */
66
throw new \UnexpectedValueException("Value '$value' is not part of the enum " . static::class);
67
68
0 commit comments