From 8e398d24f132095fffba0db3c7ceea9a43371b4d Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 6 Jan 2022 22:39:35 +0100 Subject: Fix several PHP8.1 warnings (#4123) * Fix several PHP8.1 warnings Taking advantage of https://github.com/FreshRSS/FreshRSS/pull/4121 * Couple oh type hints missing * Compatibility PHP 7 * Fix variadic PHPDocs syntax --- lib/Minz/ExtensionManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Minz/ExtensionManager.php') diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php index 2b42708f8..cad408aed 100644 --- a/lib/Minz/ExtensionManager.php +++ b/lib/Minz/ExtensionManager.php @@ -295,7 +295,7 @@ class Minz_ExtensionManager { * array keys. * * @param string $hook_name the hook to call. - * @param mixed $args additional parameters (for signature, please see self::$hook_list). + * @param mixed ...$args additional parameters (for signature, please see self::$hook_list). * @return mixed|null final result of the called hook. */ public static function callHook($hook_name, ...$args) { -- cgit v1.2.3