From 0130adcd6c96e34a1c965d611641fb2e194e1cee Mon Sep 17 00:00:00 2001 From: Dag Date: Fri, 23 May 2025 22:55:41 +0200 Subject: [PATCH] fix: deprecation warning (#4567) --- lib/CacheFactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CacheFactory.php b/lib/CacheFactory.php index 47bbbf72..50d8cef9 100644 --- a/lib/CacheFactory.php +++ b/lib/CacheFactory.php @@ -92,6 +92,7 @@ class CacheFactory if (empty($port)) { throw new \Exception('"port" param is not set for ' . $section); } + $port = (string) $port; if (!ctype_digit($port)) { throw new \Exception('"port" param is invalid for ' . $section); }