0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-02 19:42:56 +00:00

fix: deprecation warning

This commit is contained in:
Dag 2025-05-23 22:54:34 +02:00
parent b7c04f8587
commit 478373e472

View File

@ -92,6 +92,7 @@ class CacheFactory
if (empty($port)) { if (empty($port)) {
throw new \Exception('"port" param is not set for ' . $section); throw new \Exception('"port" param is not set for ' . $section);
} }
$port = (string) $port;
if (!ctype_digit($port)) { if (!ctype_digit($port)) {
throw new \Exception('"port" param is invalid for ' . $section); throw new \Exception('"port" param is invalid for ' . $section);
} }