Thiemo Kreuz (WMDE) has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/403437 )

Change subject: Use "self" for self-references in PHPDoc documentation
......................................................................

Use "self" for self-references in PHPDoc documentation

Change-Id: I8abd692208c44e1cce041a7086d6f9a8da825946
---
M src/Api/AddFormRequestParserResult.php
M tests/phpunit/composer/ErisGenerators/CartesianProduct.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseLexeme 
refs/changes/37/403437/1

diff --git a/src/Api/AddFormRequestParserResult.php 
b/src/Api/AddFormRequestParserResult.php
index 69d5936..8dc9ff9 100644
--- a/src/Api/AddFormRequestParserResult.php
+++ b/src/Api/AddFormRequestParserResult.php
@@ -26,7 +26,7 @@
 
        /**
         * @param ApiError[] $errors
-        * @return AddFormRequestParserResult
+        * @return self
         */
        public static function newWithErrors( array $errors ) {
                return new self( null, $errors );
diff --git a/tests/phpunit/composer/ErisGenerators/CartesianProduct.php 
b/tests/phpunit/composer/ErisGenerators/CartesianProduct.php
index 4530cca..b2befb6 100644
--- a/tests/phpunit/composer/ErisGenerators/CartesianProduct.php
+++ b/tests/phpunit/composer/ErisGenerators/CartesianProduct.php
@@ -19,7 +19,7 @@
         * @param GeneratedValueOptions|GeneratedValueSingle $generatedValue
         * @param GeneratedValueOptions|GeneratedValueSingle $_generatedValue
         *
-        * @return CartesianProduct
+        * @return self
         */
        public static function create( $generatedValue /*, 
...$_generatedValue*/ ) {
                $args = func_get_args();

-- 
To view, visit https://gerrit.wikimedia.org/r/403437
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8abd692208c44e1cce041a7086d6f9a8da825946
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseLexeme
Gerrit-Branch: master
Gerrit-Owner: Thiemo Kreuz (WMDE) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to