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