$this->dieStatus( $this->errorArrayToStatus( $retval, $user ) );
}
- $result = [ 'rcid' => intval( $rc->getAttribute( 'rc_id' ) ) ];
+ $result = [ 'rcid' => (int)$rc->getAttribute( 'rc_id' ) ];
ApiQueryBase::addTitleInfo( $result, $rc->getTitle() );
$this->getResult()->addValue( null, $this->getModuleName(), $result );
}