mirror of
https://github.com/flarum/framework.git
synced 2025-03-11 04:35:16 +08:00
added return type hint to memory cache
This commit is contained in:
parent
ec04ca7f97
commit
62e1a8e5c2
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user