This commit is contained in:
2021-03-26 14:59:24 +08:00
parent a3ebda57ac
commit bffd2f508d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ trait QueryTrait
*/
public function case(string $column, callable $callable): static
{
$caseWhen = new CaseWhen($column, $this);
$caseWhen = new When($column, $this);
call_user_func($callable, $caseWhen);