Skip to content

Commit 844ec9c

Browse files
authored
Allowed to pass parameters in order clause
1 parent 9f7a245 commit 844ec9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Selection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ public function whereOr(array $cond) : static
7070
/**
7171
* Function to pass group query.
7272
*/
73-
public function group(string $group) : static
73+
public function order(string $order, string|int|float|array|\BackedEnum|\DateTime ...$params) : static
7474
{
75-
$this->selection->group($group);
75+
$this->selection->order($order, ...$params);
7676

7777
return $this;
7878
}

0 commit comments

Comments
 (0)