- Still WIP on Api's wrapper
This commit is contained in:
1 parent
1927b43999
commit
8e0dce3e71
6 files changed
+26
-6
No files matched your search
@@ -278,7 +278,7 @@ class QueryBuilder implements Query\QueryBuilderInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function groupBy(string|\Stringable $field, ? string $direction = null) : self
|
||||
public function groupBy(string|object $field, ? string $direction = null) : self
|
||||
{
|
||||
if ( null === $groupBy = $this->getFragment(Query\GroupBy::class) ) {
|
||||
$groupBy = new Query\GroupBy();
|
||||
|
||||
Reference in new issue
Block a user