1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 09:41:26 +02:00

added return type hint to memory cache

This commit is contained in:
Daniël Klabbers
2019-10-08 15:51:19 +02:00
parent ec04ca7f97
commit 62e1a8e5c2

View File

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