Skip to content

Commit

Permalink
Fix psalm annotation on Enum::from
Browse files Browse the repository at this point in the history
  • Loading branch information
kamazee committed Jul 4, 2021
1 parent 55555d3 commit a128308
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 a128308

Please sign in to comment.