改名
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ use JetBrains\PhpStorm\Pure;
|
||||
* Class CaseWhen
|
||||
* @package Database\Traits
|
||||
*/
|
||||
class CaseWhen
|
||||
class When
|
||||
{
|
||||
|
||||
public ActiveQuery|QueryTrait $query;
|
||||
Reference in New Issue
Block a user