Remove backslash from @return types
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 13 Feb 2012 16:35:59 +0000 (16:35 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 13 Feb 2012 16:35:59 +0000 (16:35 +0000)
Ping r111103

includes/ConfEditor.php
includes/Namespace.php
includes/QueryPage.php
includes/StringUtils.php
includes/db/LoadBalancer.php
includes/filerepo/file/LocalFile.php
includes/media/Generic.php
includes/parser/LinkHolderArray.php
includes/specials/SpecialAllmessages.php
includes/specials/SpecialUnblock.php
includes/upload/UploadFromChunks.php

index 4aecb3d..8fa6233 100644 (file)
@@ -731,7 +731,7 @@ class ConfEditor {
 
        /**
         * Create a ConfEditorToken from an element of token_get_all()
-        * @return \ConfEditorToken
+        * @return ConfEditorToken
         */
        function newTokenObj( $internalToken ) {
                if ( is_array( $internalToken ) ) {
@@ -783,7 +783,7 @@ class ConfEditor {
        /**
         * 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;
index 6ff6f0b..ac788aa 100644 (file)
@@ -186,7 +186,7 @@ class MWNamespace {
         * Returns array of all defined namespaces with their canonical
         * (English) names.
         *
-        * @return \array
+        * @return array
         * @since 1.17
         */
        public static function getCanonicalNamespaces() {
index 4cad43e..75736aa 100644 (file)
@@ -384,7 +384,7 @@ abstract class QueryPage extends SpecialPage {
 
        /**
         * Somewhat deprecated, you probably want to be using execute()
-        * @return \ResultWrapper
+        * @return ResultWrapper
         */
        function doQuery( $offset = false, $limit = false ) {
                if ( $this->isCached() && $this->isCacheable() ) {
index f405e61..f20c548 100644 (file)
@@ -191,7 +191,7 @@ class StringUtils {
         * Returns an Iterator
         * @param $separator
         * @param $subject
-        * @return \ArrayIterator|\ExplodeIterator
+        * @return ArrayIterator|\ExplodeIterator
         */
        static function explode( $separator, $subject ) {
                if ( substr_count( $subject, $separator ) > 1000 ) {
index 7f200ea..1d00f8f 100644 (file)
@@ -91,7 +91,7 @@ class LoadBalancer {
        /**
         * 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 );
index 6fbf9c0..0a85fff 100644 (file)
@@ -1646,7 +1646,7 @@ class LocalFileDeleteBatch {
 
        /**
         * Run the transaction
-        * @return \FileRepoStatus
+        * @return FileRepoStatus
         */
        function execute() {
                global $wgUseSquid;
@@ -1807,7 +1807,7 @@ class LocalFileRestoreBatch {
         * 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;
@@ -2075,7 +2075,7 @@ class LocalFileRestoreBatch {
        /**
         * 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 ) {
@@ -2196,7 +2196,7 @@ class LocalFileMoveBatch {
 
        /**
         * Perform the move.
-        * @return \FileRepoStatus
+        * @return FileRepoStatus
         */
        function execute() {
                $repo = $this->file->repo;
index 70bc449..c6833f3 100644 (file)
@@ -188,7 +188,7 @@ abstract class MediaHandler {
         * @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 );
index 69fd206..b5d5cb4 100644 (file)
@@ -135,7 +135,7 @@ class LinkHolderArray {
        /**
         * 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 );
index b9f92f8..148cd30 100644 (file)
@@ -290,7 +290,7 @@ class AllmessagesTablePager extends TablePager {
        /**
         *  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() );
index 52218ce..79e8996 100644 (file)
@@ -136,7 +136,7 @@ class SpecialUnblock extends SpecialPage {
 
        /**
         * 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() );
index b77c560..11780e4 100644 (file)
@@ -242,7 +242,7 @@ class UploadFromChunks extends UploadFromFile {
         * Output the chunk to disk
         * 
         * @param $chunkPath string
-        * @return \FileRepoStatus
+        * @return FileRepoStatus
         */
        private function outputChunk( $chunkPath ){
                // Key is fileKey + chunk index