X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiQueryInfo.php;h=bff19780f686f7ea5b9a8fb128f8f83322ef23f5;hp=ecdebd4dd96a4891bd3e792666e3f17241e25268;hb=2480aae0c97d822e10b50619e7b48b25c45af073;hpb=a840e8308989ce61886778c70f26d2e088abb363 diff --git a/includes/api/ApiQueryInfo.php b/includes/api/ApiQueryInfo.php index ecdebd4dd9..bff19780f6 100644 --- a/includes/api/ApiQueryInfo.php +++ b/includes/api/ApiQueryInfo.php @@ -372,7 +372,7 @@ class ApiQueryInfo extends ApiQueryBase { $this->getDisplayTitle(); } - /** @var $title Title */ + /** @var Title $title */ foreach ( $this->everything as $pageid => $title ) { $pageInfo = $this->extractPageInfo( $pageid, $title ); $fit = $pageInfo !== null && $result->addValue( [ @@ -548,7 +548,7 @@ class ApiQueryInfo extends ApiQueryBase { $res = $this->select( __METHOD__ ); foreach ( $res as $row ) { - /** @var $title Title */ + /** @var Title $title */ $title = $this->titles[$row->pr_page]; $a = [ 'type' => $row->pr_type, @@ -688,7 +688,7 @@ class ApiQueryInfo extends ApiQueryBase { private function getTSIDs() { $getTitles = $this->talkids = $this->subjectids = []; - /** @var $t Title */ + /** @var Title $t */ foreach ( $this->everything as $t ) { if ( MWNamespace::isTalk( $t->getNamespace() ) ) { if ( $this->fld_subjectid ) {