From: Kunal Mehta Date: Tue, 6 Sep 2016 21:51:47 +0000 (-0700) Subject: LinkFilter: Fix return types in phpdoc X-Git-Tag: 1.31.0-rc.0~5701^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=141bce2b8ebb75aa7451ffe7f8b15959218d78af;p=lhc%2Fweb%2Fwiklou.git LinkFilter: Fix return types in phpdoc Change-Id: I870d348a1515ce9ad5b15fe65354919c46c96e54 --- diff --git a/includes/LinkFilter.php b/includes/LinkFilter.php index d86291a796..7b3d72b336 100644 --- a/includes/LinkFilter.php +++ b/includes/LinkFilter.php @@ -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 );