Completed
Push — master ( b5c57e...a9243a )
by
unknown
06:33
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.
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.
repo/includes/Api/ResultBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -627,7 +627,7 @@  discard block
 block discarded – undo
627 627
 	 * Get serialized information for the EntityId and add them to result
628 628
 	 *
629 629
 	 * @param EntityId $entityId
630
-	 * @param string|array|null $path
630
+	 * @param string $path
631 631
 	 */
632 632
 	public function addBasicEntityInformation( EntityId $entityId, $path ) {
633 633
 		$this->setValue( $path, 'id', $entityId->getSerialization() );
@@ -1092,7 +1092,7 @@  discard block
 block discarded – undo
1092 1092
 	 * @see ApiResult::addValue()
1093 1093
 	 *
1094 1094
 	 * @param Status $status The status to get the revision ID from.
1095
-	 * @param string|null|array $path Where in the result to put the revision id
1095
+	 * @param string $path Where in the result to put the revision id
1096 1096
 	 * @param int|null $oldRevId The id of the latest revision of the entity before
1097 1097
 	 *        the last (possibly null) edit
1098 1098
 	 */
Please login to merge, or discard this patch.