mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 20:24:14 +08:00
added return type hint to memory cache
This commit is contained in:
parent
b603c7b336
commit
55bdad55fc
|
@ -24,7 +24,7 @@ class MemoryCacheSettingsRepository implements SettingsRepositoryInterface
|
|||
$this->inner = $inner;
|
||||
}
|
||||
|
||||
public function all()
|
||||
public function all(): array
|
||||
{
|
||||
if (! $this->isCached) {
|
||||
$this->cache = $this->inner->all();
|
||||
|
|
Loading…
Reference in New Issue
Block a user