From dc06d5b5c9659ec6b2e14d82dc835030f5c4a00b 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 --- src/Settings/MemoryCacheSettingsRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Settings/MemoryCacheSettingsRepository.php b/src/Settings/MemoryCacheSettingsRepository.php index fda2cf2f0..0aae7ad1a 100644 --- a/src/Settings/MemoryCacheSettingsRepository.php +++ b/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();