Skip to content

Commit a128308

Browse files
committed
Fix psalm annotation on Enum::from
1 parent 55555d3 commit a128308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Enum.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ public function __wakeup()
9494

9595
/**
9696
* @param mixed $value
97+
* @psalm-param T $value
9798
* @return static
98-
* @psalm-return static<T>
9999
*/
100100
public static function from($value): self
101101
{

0 commit comments

Comments
 (0)