Merge "Update docs in CdbPHP.php"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 13 Nov 2013 16:01:41 +0000 (16:01 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 13 Nov 2013 16:01:41 +0000 (16:01 +0000)
includes/utils/CdbPHP.php

index f05f786..c178ffe 100644 (file)
@@ -69,7 +69,7 @@ class CdbFunctions {
         *
         * @param $s string
         *
-        * @return
+        * @return int
         */
        public static function hash( $s ) {
                $h = 5381;
@@ -311,9 +311,8 @@ class CdbWriterPHP extends CdbWriter {
        }
 
        /**
-        * @param $key
-        * @param $value
-        * @return
+        * @param string $key
+        * @param string $value
         */
        public function set( $key, $value ) {
                if ( strval( $key ) === '' ) {