/**
* Create a ConfEditorToken from an element of token_get_all()
- * @return \ConfEditorToken
+ * @return ConfEditorToken
*/
function newTokenObj( $internalToken ) {
if ( is_array( $internalToken ) ) {
/**
* Get the token $offset steps ahead of the current position.
* $offset may be negative, to get tokens behind the current position.
- * @return \ConfEditorToken
+ * @return ConfEditorToken
*/
function getTokenAhead( $offset ) {
$pos = $this->pos + $offset;
* Returns array of all defined namespaces with their canonical
* (English) names.
*
- * @return \array
+ * @return array
* @since 1.17
*/
public static function getCanonicalNamespaces() {
/**
* Somewhat deprecated, you probably want to be using execute()
- * @return \ResultWrapper
+ * @return ResultWrapper
*/
function doQuery( $offset = false, $limit = false ) {
if ( $this->isCached() && $this->isCacheable() ) {
* Returns an Iterator
* @param $separator
* @param $subject
- * @return \ArrayIterator|\ExplodeIterator
+ * @return ArrayIterator|\ExplodeIterator
*/
static function explode( $separator, $subject ) {
if ( substr_count( $subject, $separator ) > 1000 ) {
/**
* Get or set arbitrary data used by the parent object, usually an LBFactory
* @param $x
- * @return \Mixed
+ * @return Mixed
*/
function parentInfo( $x = null ) {
return wfSetVar( $this->mParentInfo, $x );
/**
* Run the transaction
- * @return \FileRepoStatus
+ * @return FileRepoStatus
*/
function execute() {
global $wgUseSquid;
* rows and there's no need to keep the image row locked while it's acquiring those locks
* The caller may have its own transaction open.
* So we save the batch and let the caller call cleanup()
- * @return \FileRepoStatus
+ * @return FileRepoStatus
*/
function execute() {
global $wgLang;
/**
* Delete unused files in the deleted zone.
* This should be called from outside the transaction in which execute() was called.
- * @return \FileRepoStatus|void
+ * @return FileRepoStatus|void
*/
function cleanup() {
if ( !$this->cleanupBatch ) {
/**
* Perform the move.
- * @return \FileRepoStatus
+ * @return FileRepoStatus
*/
function execute() {
$repo = $this->file->repo;
* @param $dstPath String: filesystem destination path
* @param $dstUrl String: Destination URL to use in output HTML
* @param $params Array: Arbitrary set of parameters validated by $this->validateParam()
- * @return \MediaTransformOutput
+ * @return MediaTransformOutput
*/
final function getTransform( $image, $dstPath, $dstUrl, $params ) {
return $this->doTransform( $image, $dstPath, $dstUrl, $params, self::TRANSFORM_LATER );
/**
* Get a subset of the current LinkHolderArray which is sufficient to
* interpret the given text.
- * @return \LinkHolderArray
+ * @return LinkHolderArray
*/
function getSubArray( $text ) {
$sub = new LinkHolderArray( $this->parent );
/**
* This function normally does a database query to get the results; we need
* to make a pretend result using a FakeResultWrapper.
- * @return \FakeResultWrapper
+ * @return FakeResultWrapper
*/
function reallyDoQuery( $offset, $limit, $descending ) {
$result = new FakeResultWrapper( array() );
/**
* Submit callback for an HTMLForm object
- * @return \Array( Array(message key, parameters)
+ * @return Array( Array(message key, parameters)
*/
public static function processUIUnblock( array $data, HTMLForm $form ) {
return self::processUnblock( $data, $form->getContext() );
* Output the chunk to disk
*
* @param $chunkPath string
- * @return \FileRepoStatus
+ * @return FileRepoStatus
*/
private function outputChunk( $chunkPath ){
// Key is fileKey + chunk index