mirror of
https://github.com/flarum/framework.git
synced 2025-01-22 08:25:34 +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;
|
$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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user