Skip to content

Commit

Permalink
Remove unused psalm-suppress
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Nov 13, 2020
1 parent a1fd916 commit 21d62a6
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 @@ -54,7 +54,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 21d62a6

Please sign in to comment.