Skip to content

Commit 8bef486

Browse files
authored
Merge pull request #146 from kamazee/fix_psalm_annotations
Fix psalm annotation on Enum::from
2 parents 55555d3 + a128308 commit 8bef486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)