Completed
Pull Request — master (#5)
by
unknown
09:36
created
client/includes/OtherProjectsSitesGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
 	}
113 113
 
114 114
 	/**
115
-	 * @return Site
115
+	 * @return string
116 116
 	 */
117 117
 	private function getLocalSite() {
118 118
 		return $this->siteLookup->getSite( $this->localSiteId );
Please login to merge, or discard this patch.
client/tests/phpunit/includes/Changes/WikiPageUpdaterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 	/**
67 67
 	 * @param string $text
68 68
 	 *
69
-	 * @return Title
69
+	 * @return EntityChange
70 70
 	 */
71 71
 	private function getTitleMock( $text ) {
72 72
 		$title = $this->getMockBuilder( Title::class )
Please login to merge, or discard this patch.
phpunit/includes/DataAccess/Scribunto/Scribunto_LuaWikibaseLibraryTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -206,6 +206,9 @@
 block discarded – undo
206 206
 		$this->assertFalse( $cacheSplit );
207 207
 	}
208 208
 
209
+	/**
210
+	 * @return RepoLinker
211
+	 */
209 212
 	private function getRepoLinker() {
210 213
 		$repoLinker = $this->getMockBuilder( RepoLinker::class )
211 214
 			->disableOriginalConstructor()
Please login to merge, or discard this patch.
DataAccess/Scribunto/WikibaseLanguageIndependentLuaBindingsTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@
 block discarded – undo
75 75
 		);
76 76
 	}
77 77
 
78
+	/**
79
+	 * @param EntityUsage[] $actualUsages
80
+	 */
78 81
 	private function hasUsage( $actualUsages, EntityId $entityId, $aspect ) {
79 82
 		$usage = new EntityUsage( $entityId, $aspect );
80 83
 		$key = $usage->getIdentityString();
Please login to merge, or discard this patch.
lib/includes/LanguageFallbackChainFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -227,6 +227,9 @@
 block discarded – undo
227 227
 		return $languageFallbackChain;
228 228
 	}
229 229
 
230
+	/**
231
+	 * @param string $languageCode
232
+	 */
230 233
 	private function getBabel( $languageCode, $user ) {
231 234
 		$babel = array();
232 235
 
Please login to merge, or discard this patch.
lib/includes/Summary.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 * @param string|null $moduleName The module part of the auto comment
47 47
 	 * @param string|null $actionName The action part of the auto comment
48 48
 	 * @param string|null $languageCode The language code to use as the second auto comment argument
49
-	 * @param array $commentArgs The arguments to the auto comment
49
+	 * @param string[] $commentArgs The arguments to the auto comment
50 50
 	 * @param array $summaryArgs The arguments to the auto summary
51 51
 	 */
52 52
 	public function __construct(
@@ -153,7 +153,6 @@  discard block
 block discarded – undo
153 153
 	/**
154 154
 	 * Add auto comment arguments.
155 155
 	 *
156
-	 * @param mixed $args,... Parts to be stringed together
157 156
 	 */
158 157
 	public function addAutoCommentArgs( $args /*...*/ ) {
159 158
 		if ( !is_array( $args ) ) {
@@ -166,7 +165,6 @@  discard block
 block discarded – undo
166 165
 	/**
167 166
 	 * Add arguments to the summary part.
168 167
 	 *
169
-	 * @param mixed $args,... Parts to be stringed together
170 168
 	 */
171 169
 	public function addAutoSummaryArgs( $args /*...*/ ) {
172 170
 		if ( !is_array( $args ) ) {
Please login to merge, or discard this patch.
lib/tests/phpunit/MockRepository.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 	 *
233 233
 	 * @param EntityDocument $entity
234 234
 	 * @param int $revisionId
235
-	 * @param int|string $timestamp
235
+	 * @param integer $timestamp
236 236
 	 * @param User|string|null $user
237 237
 	 *
238 238
 	 * @throws StorageException
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
 	 *
296 296
 	 * @param EntityRedirect $redirect
297 297
 	 * @param int $revisionId
298
-	 * @param string|int $timestamp
298
+	 * @param integer $timestamp
299 299
 	 *
300 300
 	 * @throws StorageException
301 301
 	 */
@@ -644,7 +644,7 @@  discard block
 block discarded – undo
644 644
 	/**
645 645
 	 * @param string $idString
646 646
 	 *
647
-	 * @return ItemId|PropertyId
647
+	 * @return EntityId
648 648
 	 */
649 649
 	private function parseId( $idString ) {
650 650
 		$parser = new BasicEntityIdParser();
@@ -653,7 +653,7 @@  discard block
 block discarded – undo
653 653
 
654 654
 	/**
655 655
 	 * @param int $revisionId
656
-	 * @param EntityId|string $entityId
656
+	 * @param EntityId $entityId
657 657
 	 * @param string $summary
658 658
 	 * @param User|string $user
659 659
 	 */
@@ -690,7 +690,7 @@  discard block
 block discarded – undo
690 690
 	 * Returns the newest (according to the revision id) log entry
691 691
 	 * for the given entity.
692 692
 	 *
693
-	 * @param EntityId|string $entityId
693
+	 * @param ItemId $entityId
694 694
 	 *
695 695
 	 * @return array|null An associative array containing the fields
696 696
 	 * 'revision', 'entity', 'summary', and 'user'.
Please login to merge, or discard this patch.
repo/includes/Api/EntityLoadingHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
 	 * @param string $title
235 235
 	 *
236 236
 	 * @throws ApiUsageException If no such entity is found.
237
-	 * @return EntityId The ID of the entity connected to $title on $site.
237
+	 * @return null|\Wikibase\DataModel\Entity\ItemId The ID of the entity connected to $title on $site.
238 238
 	 */
239 239
 	private function getEntityIdFromSiteTitleCombination( $site, $title ) {
240 240
 		if ( $this->siteLinkLookup ) {
Please login to merge, or discard this patch.
repo/includes/Api/MergeItems.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -173,6 +173,9 @@
 block discarded – undo
173 173
 		}
174 174
 	}
175 175
 
176
+	/**
177
+	 * @param string $name
178
+	 */
176 179
 	private function addEntityToOutput( EntityRevision $entityRevision, $name ) {
177 180
 		$entityId = $entityRevision->getEntity()->getId();
178 181
 		$revisionId = $entityRevision->getRevisionId();
Please login to merge, or discard this patch.