Skip to content

Commit 18fc2f1

Browse files
committed
added new type factory method
1 parent 81469a0 commit 18fc2f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/TypeFactory.php

+5
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,9 @@ public static function object(): Type
117117
{
118118
return self::create('object');
119119
}
120+
121+
public static function array(): Type
122+
{
123+
return self::create('array');
124+
}
120125
}

0 commit comments

Comments
 (0)