(bug 33471) compare detectProtocol to 'https'
[lhc/web/wiklou.git] / includes / Hooks.php
index 2a6e5cb..bc39f2f 100644 (file)
@@ -39,6 +39,7 @@ class Hooks {
         *
         * @param $name Mixed: name of hook
         * @param $callback Mixed: callback function to attach
+        * @return void
         */
        public static function register( $name, $callback ) {
                if( !isset( self::$handlers[$name] ) ) {
@@ -258,7 +259,7 @@ class Hooks {
        /**
         * This REALLY should be protected... but it's public for compatibility
         *
-        * @param $errno Unused
+        * @param $errno int Unused
         * @param $errstr String: error message
         * @return Boolean: false
         */