X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryRevisions.php;h=2dfa42a3a4d6346b36307be8e01e092e5260fa84;hb=996587e228e71436dc4bf2bceb41ce5a94e9288c;hp=a4f0315e9f20ace561e97f625c2ee348dfe4cee2;hpb=e1090009434d4908a37c8bc481fe07e96c5f647f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index a4f0315e9f..2dfa42a3a4 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -166,7 +166,7 @@ class ApiQueryRevisions extends ApiQueryRevisionsBase { // For each page we will request, the user must have read rights for that page $user = $this->getUser(); $status = Status::newGood(); - /** @var $title Title */ + /** @var Title $title */ foreach ( $pageSet->getGoodTitles() as $title ) { if ( !$title->userCan( 'read', $user ) ) { $status->fatal( ApiMessage::create(