Skip to content

Commit 812a02e

Browse files
committed
Fix message
1 parent 99386f4 commit 812a02e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/Database/Validator/Queries

src/Database/Validator/Queries/V2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ public function isValid($value, string $scope = ''): bool
346346

347347
case Query::TYPE_SELECT:
348348
if (empty($query->getAttribute())) {
349-
throw new \Exception('Invalid query: '.\ucfirst(Query::TYPE_SELECT).' queries requires one attribute');
349+
throw new \Exception('Invalid query: '.\ucfirst(Query::TYPE_SELECT).' queries requires an attribute');
350350
}
351351

352352
$asValidator = new AsValidator($query->getAttribute());

0 commit comments

Comments
 (0)