X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FTitleArray.php;h=a1eabe5b25504e25c8b27742e41a278fa23560ba;hb=6bc0e36d8b33b6d0602b912fba75938368e09406;hp=5a28b85035704231426b8df506412cae259949d6;hpb=fb7b3eebeb8de47eb42e8d6ccf204106a2d6d9e4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/TitleArray.php b/includes/TitleArray.php index 5a28b85035..a1eabe5b25 100644 --- a/includes/TitleArray.php +++ b/includes/TitleArray.php @@ -24,13 +24,15 @@ * @file */ +use Wikimedia\Rdbms\IResultWrapper; + /** * The TitleArray class only exists to provide the newFromResult method at pre- * sent. */ abstract class TitleArray implements Iterator { /** - * @param ResultWrapper $res A SQL result including at least page_namespace and + * @param IResultWrapper $res A SQL result including at least page_namespace and * page_title -- also can have page_id, page_len, page_is_redirect, * page_latest (if those will be used). See Title::newFromRow. * @return TitleArrayFromResult @@ -47,7 +49,7 @@ abstract class TitleArray implements Iterator { } /** - * @param ResultWrapper $res + * @param IResultWrapper $res * @return TitleArrayFromResult */ protected static function newFromResult_internal( $res ) {