Completed
Push — master ( 259aca...c91093 )
by
unknown
06:39
created
repo/includes/Specials/SpecialNewItem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -264,6 +264,9 @@
 block discarded – undo
264 264
 		return Status::newGood();
265 265
 	}
266 266
 
267
+	/**
268
+	 * @param \ValueValidators\Error $error
269
+	 */
267 270
 	private function createStatusFromValidatorError( $error ) {
268 271
 		$params = array_merge( [ 'wikibase-validator-' . $error->getCode() ],  $error->getParameters() );
269 272
 		return Status::newFatal( ...$params );
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Api/EntityLoadingHelperTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 	 * @param EntityRevision|null $entityRevision The EntityRevision getEntityRevision() should return.
54 54
 	 * @param Exception|null $exception The Exception getEntityRevision() should throw.
55 55
 	 *
56
-	 * @return EntityRevisionLookup|MockObject
56
+	 * @return EntityRevisionLookup
57 57
 	 */
58 58
 	protected function getMockEntityRevisionLookup(
59 59
 		EntityId $entityId = null,
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Api/EntityTermSearchHelperTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	 * @param string $type
34 34
 	 * @param TermSearchResult[] $returnResults
35 35
 	 *
36
-	 * @return ConfigurableTermSearchInteractor|MockObject
36
+	 * @return ConfigurableTermSearchInteractor
37 37
 	 */
38 38
 	private function getMockSearchInteractor(
39 39
 		$search,
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Api/PermissionsTestCase.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@
 block discarded – undo
73 73
 		MediaWikiServices::getInstance()->resetServiceForTesting( 'PermissionManager' );
74 74
 	}
75 75
 
76
+	/**
77
+	 * @param string $action
78
+	 */
76 79
 	protected function doPermissionsTest(
77 80
 		$action,
78 81
 		array $params,
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/ChangeOp/ChangeOpStatementRankTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -77,6 +77,10 @@
 block discarded – undo
77 77
 		$this->assertTrue( $changeOpResult->isEntityChanged() );
78 78
 	}
79 79
 
80
+	/**
81
+	 * @param string $itemIdString
82
+	 * @param PropertyValueSnak $mainSnak
83
+	 */
80 84
 	private function newItemWithClaim( $itemIdString, $mainSnak ) {
81 85
 		$item = new Item( new ItemId( $itemIdString ) );
82 86
 
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Dumpers/JsonDumpGeneratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 	 * @param EntityId $id
82 82
 	 *
83 83
 	 * @throws InvalidArgumentException
84
-	 * @return Item|Property
84
+	 * @return \Wikibase\DataModel\Entity\EntityDocument
85 85
 	 */
86 86
 	protected function makeEntity( EntityId $id ) {
87 87
 		if ( $id instanceof ItemId ) {
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Dumpers/RdfDumpGeneratorTest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,6 @@
 block discarded – undo
153 153
 
154 154
 	/**
155 155
 	 * @param string $flavor
156
-	 * @param EntityDocument[] $entities
157 156
 	 * @param EntityId[] $redirects
158 157
 	 *
159 158
 	 * @return RdfDumpGenerator
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Hooks/OutputPageBeforeHTMLHookHandlerTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 	}
223 223
 
224 224
 	/**
225
-	 * @param $itemId
225
+	 * @param ItemId $itemId
226 226
 	 * @return \PHPUnit\Framework\MockObject\MockObject
227 227
 	 */
228 228
 	private function getOutputPageEntityIdReaderReturningEntity( $itemId ) {
@@ -235,8 +235,8 @@  discard block
 block discarded – undo
235 235
 	}
236 236
 
237 237
 	/**
238
-	 * @param $itemId
239
-	 * @return MockObject
238
+	 * @param ItemId $itemId
239
+	 * @return EntityRevisionLookup
240 240
 	 */
241 241
 	private function getEntityRevisionLookupReturningEntity( $itemId ): EntityRevisionLookup {
242 242
 		$entityRevisionLookup = $this->createMock( EntityRevisionLookup::class );
Please login to merge, or discard this patch.
PlaceholderExpander/ExternallyRenderedEntityViewPlaceholderExpanderTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -224,6 +224,7 @@
 block discarded – undo
224 224
 	}
225 225
 
226 226
 	/**
227
+	 * @param ItemId $id
227 228
 	 * @return MockObject|OutputPageEntityIdReader
228 229
 	 */
229 230
 	protected function newEntityIdReaderReturningEntityId( $id ) {
Please login to merge, or discard this patch.