specials: Cleanup and fix PHPDoc comments
[lhc/web/wiklou.git] / includes / specials / SpecialRandomInCategory.php
index adf12d4..d781e16 100644 (file)
@@ -291,7 +291,7 @@ class SpecialRandomInCategory extends FormSpecialPage {
         * @param int $offset A small offset to make the result seem more "random"
         * @param bool $up Get the result above the random value
         * @param string $fname The name of the calling method
-        * @return array Info for the title selected.
+        * @return stdClass|false Info for the title selected.
         */
        private function selectRandomPageFromDB( $rand, $offset, $up, $fname = __METHOD__ ) {
                $dbr = wfGetDB( DB_REPLICA );