Skip to content

Commit

Permalink
Merge pull request #131 from gharlan/patch-1
Browse files Browse the repository at this point in the history
Remove unused psalm-suppress
  • Loading branch information
mnapoli committed Nov 23, 2020
2 parents d178027 + 21d62a6 commit 616601d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Enum.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 616601d

Please sign in to comment.