eee
This commit is contained in:
@@ -980,7 +980,7 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function groupBy(string $name, string $having = NULL): static
|
||||
public function groupBy(string $name, ?string $having = NULL): static
|
||||
{
|
||||
$this->group = $name;
|
||||
if (empty($having)) {
|
||||
|
||||
Reference in New Issue
Block a user