From a128308839cf931057943f833a91e8ae2fab84ba Mon Sep 17 00:00:00 2001 From: Alexander Kurilo Date: Sun, 4 Jul 2021 18:42:12 +0300 Subject: [PATCH] Fix psalm annotation on Enum::from --- src/Enum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Enum.php b/src/Enum.php index 382e1c4..687a9cc 100644 --- a/src/Enum.php +++ b/src/Enum.php @@ -94,8 +94,8 @@ public function __wakeup() /** * @param mixed $value + * @psalm-param T $value * @return static - * @psalm-return static */ public static function from($value): self {