LinkFilter: Fix return types in phpdoc
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 6 Sep 2016 21:51:47 +0000 (14:51 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Tue, 6 Sep 2016 21:51:47 +0000 (14:51 -0700)
Change-Id: I870d348a1515ce9ad5b15fe65354919c46c96e54

includes/LinkFilter.php

index d86291a..7b3d72b 100644 (file)
@@ -89,7 +89,7 @@ class LinkFilter {
         *
         * @param string $filterEntry Domainparts
         * @param string $protocol Protocol (default http://)
-        * @return array Array to be passed to Database::buildLike() or false on error
+        * @return array|bool Array to be passed to Database::buildLike() or false on error
         */
        public static function makeLikeArray( $filterEntry, $protocol = 'http://' ) {
                $db = wfGetDB( DB_REPLICA );