Skip to content

Commit 9e2895b

Browse files
committed
Add bool type
1 parent d17c90d commit 9e2895b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Database/Validator/Index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ class Index extends Validator
2828
* @param array<Document> $attributes
2929
* @param int $maxLength
3030
* @param array<string> $reservedKeys
31+
* @param bool $arrayIndexSupport
3132
* @throws DatabaseException
3233
*/
33-
public function __construct(array $attributes, int $maxLength, array $reservedKeys = [], $arrayIndexSupport = false)
34+
public function __construct(array $attributes, int $maxLength, array $reservedKeys = [], bool $arrayIndexSupport = false)
3435
{
3536
$this->maxLength = $maxLength;
3637
$this->reservedKeys = $reservedKeys;

0 commit comments

Comments
 (0)