Skip to content

Commit

Permalink
added new type factory method
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshPJackson committed Jul 17, 2021
1 parent 81469a0 commit 18fc2f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/TypeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,9 @@ public static function object(): Type
{
return self::create('object');
}

public static function array(): Type
{
return self::create('array');
}
}

0 comments on commit 18fc2f1

Please sign in to comment.