diff --git a/library/Icinga/Application/Modules/Module.php b/library/Icinga/Application/Modules/Module.php index de40266e1..70420cc9b 100644 --- a/library/Icinga/Application/Modules/Module.php +++ b/library/Icinga/Application/Modules/Module.php @@ -1251,7 +1251,7 @@ class Module * * @return $this * - * @deprecated Deprecated in favor of {@link provideHook()}. Will be removed in version 2.2.0 + * @deprecated Deprecated since 2.1.1. Use {@link provideHook()} instead */ protected function registerHook($name, $class, $key = null) { @@ -1272,15 +1272,14 @@ class Module * Provide a hook implementation * * @param string $name Name of the hook for which to provide an implementation - * @param string $implementation [optional] Fully qualified name of the class providing the hook implementation. + * @param string $implementation Fully qualified name of the class providing the hook implementation. * Defaults to the module's ProvidedHook namespace plus the hook's name for the - * class name. Web 2's namespace separator is \\ (double backslash) at the moment - * @param string $key No-op arg for compatibility reasons. This argument is deprecated and will be - * removed in version 2.2.0 + * class name + * @param string $deprecated DEPRECATED - No-op arg for compatibility reasons * * @return $this */ - protected function provideHook($name, $implementation = null, $key = null) + protected function provideHook($name, $implementation = null, $deprecated = null) { if ($implementation === null) { $implementation = $name;