mirror of
https://github.com/flarum/core.git
synced 2025-07-24 02:01:19 +02:00
added return type hint to memory cache
This commit is contained in:
@@ -26,7 +26,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();
|
||||||
|
Reference in New Issue
Block a user