}
ApiResult::setIndexedTagName( $details, 'detail' );
$msg->setApiData( $msg->getApiData() + [ 'details' => $details ] );
+ // @phan-suppress-next-line PhanTypeMismatchArgument
$this->dieWithError( $msg );
break;
}
// No errors, no warnings: do the upload
+ $result = [];
if ( $this->mParams['async'] ) {
$progress = UploadBase::getSessionStatus( $this->getUser(), $this->mParams['filekey'] );
if ( $progress && $progress['result'] === 'Poll' ) {