Skip to content

Commit

Permalink
Merge pull request #146 from kamazee/fix_psalm_annotations
Browse files Browse the repository at this point in the history
Fix psalm annotation on Enum::from
  • Loading branch information
mnapoli committed Jul 4, 2021
2 parents 55555d3 + a128308 commit 8bef486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Enum.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ public function __wakeup()

/**
* @param mixed $value
* @psalm-param T $value
* @return static
* @psalm-return static<T>
*/
public static function from($value): self
{
Expand Down

0 comments on commit 8bef486

Please sign in to comment.