diff options
| author | 2021-05-08 10:27:18 +0200 | |
|---|---|---|
| committer | 2021-05-08 10:27:18 +0200 | |
| commit | 607f7e725487ce0eb0339b288ce9e58036dad4a0 (patch) | |
| tree | 5143afbcdcf15e22b70a93e1f4744cc85eea8517 /lib/Minz/ExtensionManager.php | |
| parent | 224b20edd16a6abd4879fe0e9e0f4c1608c9accf (diff) | |
Fix several comments syntaxes (#3615)
Mainly wrong `@return` types in comments
Diffstat (limited to 'lib/Minz/ExtensionManager.php')
| -rw-r--r-- | lib/Minz/ExtensionManager.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 = ''; |
