Remove whitespace from file

Signed-off-by: objec <objecttothis@gmail.com>
This commit is contained in:
objec
2026-04-02 15:43:27 +04:00
parent 8b14ed81e0
commit 2fa324ba4e

View File

@@ -37,10 +37,10 @@ abstract class BasePlugin implements PluginInterface
protected function setSetting(string $key, mixed $value): bool
{
$stringValue = is_array($value) || is_object($value)
? json_encode($value)
$stringValue = is_array($value) || is_object($value)
? json_encode($value)
: (string)$value;
return $this->configModel->setValue("{$this->getPluginId()}_{$key}", $stringValue);
}
@@ -59,7 +59,7 @@ abstract class BasePlugin implements PluginInterface
$prefixedSettings["{$this->getPluginId()}_{$key}"] = (string)$value;
}
}
return $this->configModel->batchSave($prefixedSettings);
}
@@ -67,4 +67,4 @@ abstract class BasePlugin implements PluginInterface
{
log_message($level, "[Plugin:{$this->getPluginName()}] {$message}");
}
}
}