From ae5315feda6f8293b2aa8f88851031667920a755 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 4 Jul 2024 14:36:54 +1200 Subject: [PATCH] FIX Respect strict-typing of Factory interface --- src/Caching/ProxyCacheFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Caching/ProxyCacheFactory.php b/src/Caching/ProxyCacheFactory.php index c87d5374..f222af4a 100644 --- a/src/Caching/ProxyCacheFactory.php +++ b/src/Caching/ProxyCacheFactory.php @@ -20,7 +20,7 @@ class ProxyCacheFactory extends DefaultCacheFactory */ protected $containerClass = null; - public function create($service, array $args = []) + public function create(string $service, array $args = []): CacheInterface { $backend = parent::create($service, $args);