X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTitleArray.php;h=a1eabe5b25504e25c8b27742e41a278fa23560ba;hb=cad9b7ca365c4be4cde27c7cd4dc708abe37b61d;hp=5a28b85035704231426b8df506412cae259949d6;hpb=939199bcea28a3b13c49c0f808d11d415660b924;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 ) {