Completed
Push — master ( db6b00...5246ee )
by
unknown
08:09 queued 11s
created
lib/tests/phpunit/Store/Sql/TermSqlIndexTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -827,6 +827,12 @@  discard block
 block discarded – undo
827 827
 		return $entities;
828 828
 	}
829 829
 
830
+	/**
831
+	 * @param string $id
832
+	 * @param string $languageCode
833
+	 * @param string $label
834
+	 * @param string $description
835
+	 */
830 836
 	private function makeTermConflictItem( $id, $languageCode, $label, $description ) {
831 837
 		$item = new Item( new ItemId( $id ) );
832 838
 		$item->setLabel( $languageCode, $label );
@@ -1993,6 +1999,9 @@  discard block
 block discarded – undo
1993 1999
 		$fooTermIndex->getLabelWithDescriptionConflicts( 'property', [ 'en' => 'some irrelevant label' ],  [ 'en' => 'random description' ] );
1994 2000
 	}
1995 2001
 
2002
+	/**
2003
+	 * @param string $entityType
2004
+	 */
1996 2005
 	private function getTermSqlIndexForSourceOf( $entityType ) {
1997 2006
 		$irrelevantNamespaceId = 100;
1998 2007
 
Please login to merge, or discard this patch.
repo/includes/ParserOutput/EntityParserOutputGeneratorFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -258,6 +258,9 @@
 block discarded – undo
258 258
 		);
259 259
 	}
260 260
 
261
+	/**
262
+	 * @param PropertyDataTypeMatcher $propertyDataTypeMatcher
263
+	 */
261 264
 	private function newGeoDataDataUpdater( $propertyDataTypeMatcher ): StatementDataUpdater {
262 265
 		return new GeoDataDataUpdater(
263 266
 			$propertyDataTypeMatcher,
Please login to merge, or discard this patch.
repo/includes/ParserOutput/TermboxView.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -69,6 +69,7 @@
 block discarded – undo
69 69
 
70 70
 	/**
71 71
 	 * @see \Wikibase\View\ViewPlaceHolderEmitter
72
+	 * @param string $languageCode
72 73
 	 */
73 74
 	public function getPlaceholders(
74 75
 		EntityDocument $entity,
Please login to merge, or discard this patch.
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.