mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 11:51:45 +08:00
Fix implementations of settings repo interface
This commit is contained in:
parent
928b8cba7a
commit
93c66d913a
|
@ -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 [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user