added return type hint to memory cache

This commit is contained in:
Daniël Klabbers 2019-10-08 15:51:19 +02:00
parent b603c7b336
commit 55bdad55fc

View File

@ -24,7 +24,7 @@ class MemoryCacheSettingsRepository implements SettingsRepositoryInterface
$this->inner = $inner; $this->inner = $inner;
} }
public function all() public function all(): array
{ {
if (! $this->isCached) { if (! $this->isCached) {
$this->cache = $this->inner->all(); $this->cache = $this->inner->all();