Skip to content

Commit 16970a6

Browse files
fix: missing brackets
1 parent c492aef commit 16970a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Validator/Queries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct($validator, $indexes, $strict = true)
4343

4444
$this->indexes[] = [
4545
'type' => Database::INDEX_UNIQUE,
46-
'attributes' => '$id'
46+
'attributes' => ['$id']
4747
];
4848

4949
foreach ($indexes as $index) {

0 commit comments

Comments
 (0)