From 580693137512cb6a349893f14ff756040c836bb1 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 27 Aug 2015 02:20:54 -0700 Subject: [PATCH] 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 --- includes/cache/BacklinkCache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ) { -- 2.20.1