From 21d62a63921b72a905756b40ecbe5263af21fb21 Mon Sep 17 00:00:00 2001 From: Gregor Harlan Date: Fri, 13 Nov 2020 11:32:27 +0100 Subject: [PATCH] Remove unused psalm-suppress --- src/Enum.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Enum.php b/src/Enum.php index f5a5940..9b07191 100644 --- a/src/Enum.php +++ b/src/Enum.php @@ -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); }