Update docs in CdbPHP.php
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Thu, 7 Nov 2013 22:23:29 +0000 (23:23 +0100)
committerChad Horohoe <chadh@wikimedia.org>
Sat, 9 Nov 2013 01:21:25 +0000 (17:21 -0800)
Change-Id: I76ff053ad231dd026b3e2576f913cc9d3fa52c79

includes/utils/CdbPHP.php

index c6edaf5..8106243 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 ) === '' ) {