We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99386f4 commit 812a02eCopy full SHA for 812a02e
1 file changed
src/Database/Validator/Queries/V2.php
@@ -346,7 +346,7 @@ public function isValid($value, string $scope = ''): bool
346
347
case Query::TYPE_SELECT:
348
if (empty($query->getAttribute())) {
349
- throw new \Exception('Invalid query: '.\ucfirst(Query::TYPE_SELECT).' queries requires one attribute');
+ throw new \Exception('Invalid query: '.\ucfirst(Query::TYPE_SELECT).' queries requires an attribute');
350
}
351
352
$asValidator = new AsValidator($query->getAttribute());
0 commit comments