mirror of
https://github.com/flarum/core.git
synced 2025-07-20 16:21:18 +02:00
Fix implementations of settings repo interface
This commit is contained in:
@@ -35,7 +35,7 @@ class OverrideSettingsRepository implements SettingsRepositoryInterface
|
|||||||
$this->overrides = $overrides;
|
$this->overrides = $overrides;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function all()
|
public function all(): array
|
||||||
{
|
{
|
||||||
return array_merge($this->inner->all(), $this->overrides);
|
return array_merge($this->inner->all(), $this->overrides);
|
||||||
}
|
}
|
||||||
|
@@ -11,7 +11,7 @@ namespace Flarum\Settings;
|
|||||||
|
|
||||||
class UninstalledSettingsRepository implements SettingsRepositoryInterface
|
class UninstalledSettingsRepository implements SettingsRepositoryInterface
|
||||||
{
|
{
|
||||||
public function all()
|
public function all(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user