Skip to content

Commit 9a39cef

Browse files
committed
fixed phpDoc
1 parent f0a3071 commit 9a39cef

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/Schema/Elements/Type.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public function max(?float $max): self
8484

8585

8686
/**
87-
* @param string|Schema $type
87+
* @param string|Schema $valueType
88+
* @param string|Schema|null $keyType
8889
* @internal use arrayOf() or listOf()
8990
*/
9091
public function items($valueType = 'mixed', $keyType = null): self

src/Schema/Expect.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ public static function from($object, array $items = []): Structure
9898

9999

100100
/**
101-
* @param string|Schema $type
101+
* @param string|Schema $valueType
102+
* @param string|Schema|null $keyType
102103
*/
103104
public static function arrayOf($valueType, $keyType = null): Type
104105
{

0 commit comments

Comments
 (0)