Completed
Pull Request — master (#12)
by
unknown
11:14 queued 04:45
created
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/includes/WikibaseRepo.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1621,7 +1621,7 @@  discard block
 block discarded – undo
1621 1621
 	/**
1622 1622
 	 * Get the mapping of entity types => content models
1623 1623
 	 *
1624
-	 * @return array
1624
+	 * @return string[]
1625 1625
 	 */
1626 1626
 	public function getContentModelMappings() {
1627 1627
 		$map = $this->entityTypeDefinitions->getContentModelIds();
@@ -2490,10 +2490,16 @@  discard block
 block discarded – undo
2490 2490
 		return $this->entitySourceDefinitions;
2491 2491
 	}
2492 2492
 
2493
+	/**
2494
+	 * @return callable[]
2495
+	 */
2493 2496
 	private function getMultiRepositoryServiceWiring() {
2494 2497
 		return require __DIR__ . '/../../data-access/src/MultiRepositoryServiceWiring.php';
2495 2498
 	}
2496 2499
 
2500
+	/**
2501
+	 * @return callable[]
2502
+	 */
2497 2503
 	private function getPerRepositoryServiceWiring() {
2498 2504
 		return require __DIR__ . '/../../data-access/src/PerRepositoryServiceWiring.php';
2499 2505
 	}
Please login to merge, or discard this patch.
repo/RepoHooks.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,6 +165,7 @@  discard block
 block discarded – undo
165 165
 	 *
166 166
 	 * @param int $ns Namespace ID
167 167
 	 * @param bool &$movable
168
+	 * @param boolean $movable
168 169
 	 */
169 170
 	public static function onNamespaceIsMovable( $ns, &$movable ) {
170 171
 		if ( self::isNamespaceUsedByLocalEntities( $ns ) ) {
@@ -172,6 +173,9 @@  discard block
 block discarded – undo
172 173
 		}
173 174
 	}
174 175
 
176
+	/**
177
+	 * @param integer $namespace
178
+	 */
175 179
 	private static function isNamespaceUsedByLocalEntities( $namespace ) {
176 180
 		$wikibaseRepo = WikibaseRepo::getDefaultInstance();
177 181
 		$namespaceLookup = $wikibaseRepo->getEntityNamespaceLookup();
@@ -777,6 +781,7 @@  discard block
 block discarded – undo
777 781
 	 * @param string $contentModel
778 782
 	 * @param LinkTarget $title Actually a Title object, but we only require getNamespace
779 783
 	 * @param bool &$ok
784
+	 * @param boolean $ok
780 785
 	 *
781 786
 	 * @return bool
782 787
 	 */
@@ -905,7 +910,7 @@  discard block
 block discarded – undo
905 910
 	/**
906 911
 	 * Called by Import.php. Implemented to prevent the import of entities.
907 912
 	 *
908
-	 * @param object $importer unclear, see Bug T66657
913
+	 * @param \stdClass $importer unclear, see Bug T66657
909 914
 	 * @param array $pageInfo
910 915
 	 * @param array $revisionInfo
911 916
 	 *
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/Api/RemoveQualifiersTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -139,6 +139,9 @@  discard block
 block discarded – undo
139 139
 		] );
140 140
 	}
141 141
 
142
+	/**
143
+	 * @param string|null $statementGuid
144
+	 */
142 145
 	protected function makeValidRequest( $statementGuid, array $hashes ) {
143 146
 		$params = [
144 147
 			'action' => 'wbremovequalifiers',
@@ -154,6 +157,9 @@  discard block
 block discarded – undo
154 157
 		$this->makeInvalidRequest( $statementGuid, $hashes, 'no-such-qualifier' );
155 158
 	}
156 159
 
160
+	/**
161
+	 * @param string $expectedError
162
+	 */
157 163
 	protected function makeInvalidRequest( $statementGuid, array $hashes, $expectedError = null ) {
158 164
 		$params = [
159 165
 			'action' => 'wbremovequalifiers',
Please login to merge, or discard this patch.