support set_int(foo, null)
This commit is contained in:
parent
14ca4f545d
commit
f1c146b512
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ abstract class BaseConfig implements Config
|
|||
|
||||
public function set_int(string $name, ?string $value): void
|
||||
{
|
||||
$this->values[$name] = parse_shorthand_int($value);
|
||||
$this->values[$name] = is_null($value) ? null : parse_shorthand_int($value);
|
||||
$this->save($name);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue