aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/ExtensionManager.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-01-01 11:26:56 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-01 11:26:56 +0100
commit3f6aa42b817145a3b00f4d615f87728b55c4413a (patch)
treee5b31941b0acc3a2f4c47e4846afcfe987b9852f /lib/Minz/ExtensionManager.php
parent77e9877316fcfacb26799afdf32d94c8411da80e (diff)
Fix most PHPDocs errors (#4107)
Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103 https://phpstan.org/writing-php-code/phpdoc-types
Diffstat (limited to 'lib/Minz/ExtensionManager.php')
-rw-r--r--lib/Minz/ExtensionManager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php
index eb2d381c4..0139c326f 100644
--- a/lib/Minz/ExtensionManager.php
+++ b/lib/Minz/ExtensionManager.php
@@ -324,8 +324,8 @@ class Minz_ExtensionManager {
*
* If a hook return a null value, the method is stopped and return null.
*
- * @param $hook_name is the hook to call.
- * @param $arg is the argument to pass to the first extension hook.
+ * @param string $hook_name is the hook to call.
+ * @param mixed $arg is the argument to pass to the first extension hook.
* @return mixed final chained result of the hooks. If nothing is changed,
* the initial argument is returned.
*/
@@ -366,7 +366,7 @@ class Minz_ExtensionManager {
* This case is simpler than callOneToOne because hooks are called one by
* one, without any consideration of argument nor result.
*
- * @param $hook_name is the hook to call.
+ * @param string $hook_name is the hook to call.
*/
private static function callNoneToNone($hook_name) {
foreach (self::$hook_list[$hook_name]['list'] as $function) {