wip: 값 이동
This commit is contained in:
@@ -478,8 +478,11 @@ class General extends GeneralLite implements iAction
|
||||
}
|
||||
}
|
||||
|
||||
function updateVar(string $key, $value)
|
||||
function updateVar(string|\BackedEnum $key, $value)
|
||||
{
|
||||
if($key instanceof \BackedEnum){
|
||||
$key = $key->value;
|
||||
}
|
||||
if (($this->raw[$key] ?? null) === $value) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user