From: Aaron Schulz Date: Thu, 24 Sep 2015 18:15:53 +0000 (-0700) Subject: Fixed IDE errors due to SquidUpdate::newFromTitles X-Git-Tag: 1.31.0-rc.0~9698^2 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=0773b6c158aa977699737fecfa0d265780b86443;p=lhc%2Fweb%2Fwiklou.git Fixed IDE errors due to SquidUpdate::newFromTitles * Update phpdocs to allow Traversable for things like TitleArray::newFromResult, which are used and supported Change-Id: I536f11969d3d4416c37b238c15ff930a770390bd --- diff --git a/includes/deferred/SquidUpdate.php b/includes/deferred/SquidUpdate.php index 950a264ac5..e148f56a15 100644 --- a/includes/deferred/SquidUpdate.php +++ b/includes/deferred/SquidUpdate.php @@ -54,7 +54,7 @@ class SquidUpdate { /** * Create a SquidUpdate from an array of Title objects, or a TitleArray object * - * @param array $titles + * @param Traversable|array $titles * @param array $urlArr * @return SquidUpdate */