Skip to content

Commit dd3d5fa

Browse files
committed
Improve typing of QueryValidator constructor
1 parent a475b23 commit dd3d5fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Database/Validator/QueryValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ class QueryValidator extends Validator
3535
/**
3636
* Expression constructor
3737
*
38-
* @param array $attributes
38+
* @param Document[] $attributes
3939
*/
40-
public function __construct($attributes)
40+
public function __construct(array $attributes)
4141
{
4242
foreach ($attributes as $attribute) {
4343
$this->schema[] = $attribute->getArrayCopy();

0 commit comments

Comments
 (0)