We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 844ec9c commit a94046aCopy full SHA for a94046a
1 file changed
src/Selection.php
@@ -70,19 +70,19 @@ public function whereOr(array $cond) : static
70
/**
71
* Function to pass group query.
72
*/
73
- public function order(string $order, string|int|float|array|\BackedEnum|\DateTime ...$params) : static
+ public function group(string $group) : static
74
{
75
- $this->selection->order($order, ...$params);
+ $this->selection->group($group);
76
77
return $this;
78
}
79
80
81
* Function to pass order query.
82
83
- public function order(string $order) : static
+ public function order(string $order, string|int|float|array|\BackedEnum|\DateTime ...$params) : static
84
85
- $this->selection->order($order);
+ $this->selection->order($order, ...$params);
86
87
88
0 commit comments