X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiUpload.php;h=cfe19689382506433cb419808bf23efdb91b714f;hp=a283b5a215341eb91a4fac9bf044d4a67c70598b;hb=1d7a1bf8bddf0908e4f572c82268733f63126a13;hpb=39fb8a4f531256e122fa4c01d4417d23d168f299 diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index a283b5a215..cfe1968938 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -71,7 +71,7 @@ class ApiUpload extends ApiBase { $this->checkPermissions( $user ); // Fetch the file (usually a no-op) - /** @var $status Status */ + /** @var Status $status */ $status = $this->mUpload->fetchFile(); if ( !$status->isGood() ) { $this->dieStatus( $status ); @@ -772,7 +772,7 @@ class ApiUpload extends ApiBase { $this->mParams['text'] = $this->mParams['comment']; } - /** @var $file LocalFile */ + /** @var LocalFile $file */ $file = $this->mUpload->getLocalFile(); // For preferences mode, we want to watch if 'watchdefault' is set, @@ -829,7 +829,7 @@ class ApiUpload extends ApiBase { $result['result'] = 'Poll'; $result['stage'] = 'queued'; } else { - /** @var $status Status */ + /** @var Status $status */ $status = $this->mUpload->performUpload( $this->mParams['comment'], $this->mParams['text'], $watch, $this->getUser(), $this->mParams['tags'] );