From 62e1a8e5c2fdc8cd070f505a29db6e24dcf4b31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Tue, 8 Oct 2019 15:51:19 +0200 Subject: [PATCH] added return type hint to memory cache --- framework/core/src/Settings/MemoryCacheSettingsRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Settings/MemoryCacheSettingsRepository.php b/framework/core/src/Settings/MemoryCacheSettingsRepository.php index fda2cf2f0..0aae7ad1a 100644 --- a/framework/core/src/Settings/MemoryCacheSettingsRepository.php +++ b/framework/core/src/Settings/MemoryCacheSettingsRepository.php @@ -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();