Skip to content

Commit 184f6c4

Browse files
committed
fix: Custom setting null support
1 parent 32da392 commit 184f6c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/app/GeoKrety/Model/BaseSettingsParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function set_default($value): ?string {
4949
return $this->convertValueToString($value);
5050
}
5151

52-
public function convertValueToSettingType(string $value) {
52+
public function convertValueToSettingType(?string $value) {
5353
switch ($this->type) {
5454
case 'bool':
5555
case 'boolean':

0 commit comments

Comments
 (0)