From 607f7e725487ce0eb0339b288ce9e58036dad4a0 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 8 May 2021 10:27:18 +0200 Subject: Fix several comments syntaxes (#3615) Mainly wrong `@return` types in comments --- lib/Minz/ExtensionManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Minz/ExtensionManager.php') diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php index 0f542894d..eb2d381c4 100644 --- a/lib/Minz/ExtensionManager.php +++ b/lib/Minz/ExtensionManager.php @@ -296,7 +296,7 @@ class Minz_ExtensionManager { * * @param string $hook_name the hook to call. * @param additional parameters (for signature, please see self::$hook_list). - * @return the final result of the called hook. + * @return mixed final result of the called hook. */ public static function callHook($hook_name) { if (!isset(self::$hook_list[$hook_name])) { @@ -326,7 +326,7 @@ class Minz_ExtensionManager { * * @param $hook_name is the hook to call. * @param $arg is the argument to pass to the first extension hook. - * @return the final chained result of the hooks. If nothing is changed, + * @return mixed final chained result of the hooks. If nothing is changed, * the initial argument is returned. */ private static function callOneToOne($hook_name, $arg) { @@ -350,7 +350,7 @@ class Minz_ExtensionManager { * returned. * * @param string $hook_name is the hook to call. - * @return a concatenated string, result of the call to all the hooks. + * @return string concatenated result of the call to all the hooks. */ private static function callNoneToString($hook_name) { $result = ''; -- cgit v1.2.3