mirror of
https://github.com/flarum/framework.git
synced 2025-03-15 00:05:12 +08:00
Fix implementations of settings repo interface
This commit is contained in:
parent
810bfdc28f
commit
60572b93fb
@ -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 [];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user