From: Aaron Schulz Date: Thu, 27 Aug 2015 09:20:54 +0000 (-0700) Subject: Cleaned up int|INF doc type to avoid IDEA errors X-Git-Tag: 1.31.0-rc.0~10241 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/fiche.php?a=commitdiff_plain;h=580693137512cb6a349893f14ff756040c836bb1;p=lhc%2Fweb%2Fwiklou.git Cleaned up int|INF doc type to avoid IDEA errors * INF is not a class (technically a float, which would look confusing here) Change-Id: I9c437ecd0f2fe1a2a3e15197d50829a638f3073a --- diff --git a/includes/cache/BacklinkCache.php b/includes/cache/BacklinkCache.php index 10b4fb0090..1296c136f7 100644 --- a/includes/cache/BacklinkCache.php +++ b/includes/cache/BacklinkCache.php @@ -157,7 +157,7 @@ class BacklinkCache { * @param string $table * @param int|bool $startId * @param int|bool $endId - * @param int|INF $max + * @param int $max * @return TitleArrayFromResult */ public function getLinks( $table, $startId = false, $endId = false, $max = INF ) { @@ -169,7 +169,7 @@ class BacklinkCache { * @param string $table * @param int|bool $startId * @param int|bool $endId - * @param int|INF $max + * @param int $max * @param string $select 'all' or 'ids' * @return ResultWrapper */ @@ -319,7 +319,7 @@ class BacklinkCache { /** * Get the approximate number of backlinks * @param string $table - * @param int|INF $max Only count up to this many backlinks + * @param int $max Only count up to this many backlinks * @return int */ public function getNumLinks( $table, $max = INF ) {