Skip to content

Commit

Permalink
fixed phpDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 15, 2021
1 parent f0a3071 commit 9a39cef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Schema/Elements/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public function max(?float $max): self


/**
* @param string|Schema $type
* @param string|Schema $valueType
* @param string|Schema|null $keyType
* @internal use arrayOf() or listOf()
*/
public function items($valueType = 'mixed', $keyType = null): self
Expand Down
3 changes: 2 additions & 1 deletion src/Schema/Expect.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ public static function from($object, array $items = []): Structure


/**
* @param string|Schema $type
* @param string|Schema $valueType
* @param string|Schema|null $keyType
*/
public static function arrayOf($valueType, $keyType = null): Type
{
Expand Down

0 comments on commit 9a39cef

Please sign in to comment.