X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FTitleArray.php;h=a1eabe5b25504e25c8b27742e41a278fa23560ba;hp=5a28b85035704231426b8df506412cae259949d6;hb=362a962c8db517f435843af45f0747ead6878252;hpb=f43fa6f4f0e2cb60b8543daad661b48a3e0653a9 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 ) {