Skip to content

Commit ace100c

Browse files
committed
Fix
1 parent e68ca10 commit ace100c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Type/BenevolentUnionType.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,13 @@ public function traverse(callable $cb): Type
8484
return $this;
8585
}
8686

87+
/**
88+
* @param mixed[] $properties
89+
* @return Type
90+
*/
91+
public static function __set_state(array $properties): Type
92+
{
93+
return new self($properties['types']);
94+
}
95+
8796
}

0 commit comments

Comments
 (0)