Fix implementations of settings repo interface

This commit is contained in:
Franz Liedke 2019-12-01 22:10:58 +01:00
parent 928b8cba7a
commit 93c66d913a
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }

View File

@ -11,7 +11,7 @@ namespace Flarum\Settings;
class UninstalledSettingsRepository implements SettingsRepositoryInterface class UninstalledSettingsRepository implements SettingsRepositoryInterface
{ {
public function all() public function all(): array
{ {
return []; return [];
} }