Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 8, 2021
1 parent e68ca10 commit ace100c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Type/BenevolentUnionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,13 @@ public function traverse(callable $cb): Type
return $this;
}

/**
* @param mixed[] $properties
* @return Type
*/
public static function __set_state(array $properties): Type
{
return new self($properties['types']);
}

}

0 comments on commit ace100c

Please sign in to comment.