From 180dffa909d6ea0ec8c46e4155a4917932cc1ebc Mon Sep 17 00:00:00 2001 From: David Bogner Date: Sun, 15 Oct 2023 17:21:03 +0200 Subject: [PATCH] Fix return type --- rule/ftpsyncfiles/rule_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/ftpsyncfiles/rule_class.php b/rule/ftpsyncfiles/rule_class.php index 8ecc40e8..fcc2e179 100644 --- a/rule/ftpsyncfiles/rule_class.php +++ b/rule/ftpsyncfiles/rule_class.php @@ -244,6 +244,6 @@ protected function get_userid_from_filename(string $filename): int { $userid = 0; break; } - return $userid; + return (int) $userid; } }