改名
This commit is contained in:
@@ -69,7 +69,7 @@ trait QueryTrait
|
|||||||
*/
|
*/
|
||||||
public function case(string $column, callable $callable): static
|
public function case(string $column, callable $callable): static
|
||||||
{
|
{
|
||||||
$caseWhen = new CaseWhen($column, $this);
|
$caseWhen = new When($column, $this);
|
||||||
|
|
||||||
call_user_func($callable, $caseWhen);
|
call_user_func($callable, $caseWhen);
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ use JetBrains\PhpStorm\Pure;
|
|||||||
* Class CaseWhen
|
* Class CaseWhen
|
||||||
* @package Database\Traits
|
* @package Database\Traits
|
||||||
*/
|
*/
|
||||||
class CaseWhen
|
class When
|
||||||
{
|
{
|
||||||
|
|
||||||
public ActiveQuery|QueryTrait $query;
|
public ActiveQuery|QueryTrait $query;
|
||||||
Reference in New Issue
Block a user