Skip to content

Commit 616601d

Browse files
authored
Merge pull request #131 from gharlan/patch-1
Remove unused psalm-suppress
2 parents d178027 + 21d62a6 commit 616601d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Enum.php

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ public function __construct($value)
6262
}
6363

6464
if (!$this->isValid($value)) {
65-
/** @psalm-suppress InvalidCast */
6665
throw new \UnexpectedValueException("Value '$value' is not part of the enum " . static::class);
6766
}
6867

0 commit comments

Comments
 (0)