We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1fd916 commit 21d62a6Copy full SHA for 21d62a6
src/Enum.php
@@ -54,7 +54,6 @@ public function __construct($value)
54
}
55
56
if (!$this->isValid($value)) {
57
- /** @psalm-suppress InvalidCast */
58
throw new \UnexpectedValueException("Value '$value' is not part of the enum " . static::class);
59
60
0 commit comments