From 478373e472d0693f9c4b3e56a86c12459c6f6f08 Mon Sep 17 00:00:00 2001 From: Dag Date: Fri, 23 May 2025 22:54:34 +0200 Subject: [PATCH] fix: deprecation warning --- 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); }