mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix various code.
This commit is contained in:
@@ -54,7 +54,7 @@ class FireflyConfig
|
||||
public function getEncrypted(string $name, mixed $default = null): ?Configuration
|
||||
{
|
||||
$result = $this->get($name, $default);
|
||||
if (null === $result) {
|
||||
if (!$result instanceof Configuration) {
|
||||
return null;
|
||||
}
|
||||
if ('' === $result->data) {
|
||||
|
Reference in New Issue
Block a user