Completed
Push — master ( db6b00...5246ee )
by
unknown
08:09 queued 11s
created
phpunit/integration/includes/Hooks/ParserOutputUpdateHookHandlerTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -459,6 +459,10 @@
 block discarded – undo
459 459
 		);
460 460
 	}
461 461
 
462
+	/**
463
+	 * @param NamespaceChecker $namespaceChecker
464
+	 * @param MockRepository $mockRepo
465
+	 */
462 466
 	private function newLangLinkHandlerFactory( $namespaceChecker, $mockRepo ) {
463 467
 		$settings = $this->newSettings();
464 468
 
Please login to merge, or discard this patch.
client/includes/Hooks/EditActionHookHandler.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -82,6 +82,10 @@
 block discarded – undo
82 82
 	 * @param int $tabindex
83 83
 	 */
84 84
 	// phpcs:ignore MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
85
+
86
+	/**
87
+	 * @param integer $tabindex
88
+	 */
85 89
 	public function onEditPage__showStandardInputs_options( $editor, $out, &$tabindex ): void {
86 90
 		if ( $editor->section ) {
87 91
 			// Shorten out, like template transclusion in core
Please login to merge, or discard this patch.
repo/includes/Specials/SpecialSetAliases.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
 	/**
121 121
 	 * Screams and throws an error if any of existing aliases has pipe character
122 122
 	 *
123
-	 * @param EntityDocument $entity
123
+	 * @param AliasesProvider $entity
124 124
 	 * @param string $languageCode
125 125
 	 *
126 126
 	 * @throws UserInputException
Please login to merge, or discard this patch.
repo/includes/Api/EntityTerms.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 
124 124
 	/**
125 125
 	 * @param Title[] $titles
126
-	 * @param int|null $continue
126
+	 * @param integer $continue
127 127
 	 *
128 128
 	 * @return array
129 129
 	 */
Please login to merge, or discard this patch.
data-access/src/SingleEntitySourceServices.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -340,6 +340,9 @@  discard block
 block discarded – undo
340 340
 		);
341 341
 	}
342 342
 
343
+	/**
344
+	 * @return MatchingTermsLookup
345
+	 */
343 346
 	private function getTermIndex() {
344 347
 		if ( $this->termIndex === null ) {
345 348
 			$this->termIndex = new TermSqlIndex(
@@ -371,6 +374,9 @@  discard block
 block discarded – undo
371 374
 		return $this->termIndexPrefetchingTermLookup;
372 375
 	}
373 376
 
377
+	/**
378
+	 * @return PrefetchingTermLookup
379
+	 */
374 380
 	public function getPrefetchingTermLookup() {
375 381
 		if ( $this->prefetchingTermLookup === null ) {
376 382
 			$this->prefetchingTermLookup = new ByTypeDispatchingPrefetchingTermLookup(
Please login to merge, or discard this patch.
repo/includes/Api/FormatSnakValue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -120,6 +120,9 @@
 block discarded – undo
120 120
 		);
121 121
 	}
122 122
 
123
+	/**
124
+	 * @param string|null $dataTypeId
125
+	 */
123 126
 	private function formatValue( array $params, DataValue $value, ?string $dataTypeId ): string {
124 127
 		$snak = null;
125 128
 		if ( isset( $params['property'] ) ) {
Please login to merge, or discard this patch.
repo/includes/Api/ParseValue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -236,6 +236,9 @@
 block discarded – undo
236 236
 		return new CompositeValidator( $validators, true );
237 237
 	}
238 238
 
239
+	/**
240
+	 * @param ValueValidator|null $validator
241
+	 */
239 242
 	private function parseStringValue( ValueParser $parser, string $value, ?ValueValidator $validator ): array {
240 243
 		$result = [
241 244
 			'raw' => $value
Please login to merge, or discard this patch.
repo/includes/WikibaseRepo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1218,7 +1218,7 @@
 block discarded – undo
1218 1218
 	}
1219 1219
 
1220 1220
 	/**
1221
-	 * @return TermBuffer|AliasTermBuffer
1221
+	 * @return null|TermBuffer
1222 1222
 	 */
1223 1223
 	public function getTermBuffer() {
1224 1224
 		return $this->getPrefetchingTermLookup();
Please login to merge, or discard this patch.
repo/includes/Api/EditEntity.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -419,6 +419,9 @@  discard block
 block discarded – undo
419 419
 		}
420 420
 	}
421 421
 
422
+	/**
423
+	 * @param Title|null $title
424
+	 */
422 425
 	private function checkPageIdProp( array $data, ?Title $title ): void {
423 426
 		if ( isset( $data['pageid'] )
424 427
 			&& ( $title === null || $title->getArticleID() !== $data['pageid'] )
@@ -430,6 +433,9 @@  discard block
 block discarded – undo
430 433
 		}
431 434
 	}
432 435
 
436
+	/**
437
+	 * @param Title|null $title
438
+	 */
433 439
 	private function checkNamespaceProp( array $data, ?Title $title ): void {
434 440
 		// not completely convinced that we can use title to get the namespace in this case
435 441
 		if ( isset( $data['ns'] )
@@ -442,6 +448,9 @@  discard block
 block discarded – undo
442 448
 		}
443 449
 	}
444 450
 
451
+	/**
452
+	 * @param Title|null $title
453
+	 */
445 454
 	private function checkTitleProp( array $data, ?Title $title ): void {
446 455
 		if ( isset( $data['title'] )
447 456
 			&& ( $title === null || $title->getPrefixedText() !== $data['title'] )
@@ -464,6 +473,9 @@  discard block
 block discarded – undo
464 473
 		}
465 474
 	}
466 475
 
476
+	/**
477
+	 * @param null|EntityId $entityId
478
+	 */
467 479
 	private function checkEntityId( array $data, ?EntityId $entityId ): void {
468 480
 		if ( isset( $data['id'] ) ) {
469 481
 			if ( !$entityId ) {
Please login to merge, or discard this patch.