Completed
Pull Request — master (#3)
by
unknown
07:49
created
client/includes/OtherProjectsSitesGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 	}
115 115
 
116 116
 	/**
117
-	 * @return Site
117
+	 * @return string
118 118
 	 */
119 119
 	private function getLocalSite() {
120 120
 		return $this->siteStore->getSite( $this->localSiteId );
Please login to merge, or discard this patch.
tests/phpunit/includes/DataAccess/WikibaseDataAccessTestItemSetUpHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
 	/**
141 141
 	 * @param ItemId $id
142 142
 	 * @param string[] $labels
143
-	 * @param Statement[]|null $statements
143
+	 * @param Statement[] $statements
144 144
 	 * @param SiteLink[]|null $siteLinks
145 145
 	 *
146 146
 	 * @return Item
Please login to merge, or discard this patch.
client/tests/phpunit/includes/WikibaseClientTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 	}
157 157
 
158 158
 	/**
159
-	 * @return SiteStore
159
+	 * @return null|SiteStore
160 160
 	 */
161 161
 	private function getSiteStore() {
162 162
 		$siteStore = new MockSiteStore();
Please login to merge, or discard this patch.
client/WikibaseClient.hooks.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 	 * @param bool $local shall links be generated locally or globally
188 188
 	 * @param string|null $wikiId The ID of the wiki the comment applies to, if not the local wiki.
189 189
 	 *
190
-	 * @return bool
190
+	 * @return boolean|null
191 191
 	 */
192 192
 	public static function onFormat( &$comment, $pre, $auto, $post, $title, $local, $wikiId = null ) {
193 193
 		global $wgContLang;
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
 	 * @param string $name
577 577
 	 * @param string &$html
578 578
 	 *
579
-	 * @return boolean
579
+	 * @return boolean|null
580 580
 	 */
581 581
 	public static function onBaseTemplateAfterPortlet( BaseTemplate $skinTemplate, $name, &$html ) {
582 582
 		$handler = new BaseTemplateAfterPortletHandler();
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
@@ -233,6 +233,9 @@
 block discarded – undo
233 233
 		return $languageFallbackChain;
234 234
 	}
235 235
 
236
+	/**
237
+	 * @param string $languageCode
238
+	 */
236 239
 	protected function getBabel( $languageCode, $user ) {
237 240
 		$babel = array();
238 241
 
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
 	 * @return EntityRevision
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
 	 *
295 295
 	 * @param EntityRedirect $redirect
296 296
 	 * @param int $revisionId
297
-	 * @param string|int $timestamp
297
+	 * @param integer $timestamp
298 298
 	 */
299 299
 	public function putRedirect( EntityRedirect $redirect, $revisionId = 0, $timestamp = 0 ) {
300 300
 		$key = $redirect->getEntityId()->getSerialization();
@@ -633,7 +633,7 @@  discard block
 block discarded – undo
633 633
 	/**
634 634
 	 * @param string $idString
635 635
 	 *
636
-	 * @return ItemId|PropertyId
636
+	 * @return EntityId
637 637
 	 */
638 638
 	private function parseId( $idString ) {
639 639
 		$parser = new BasicEntityIdParser();
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
 
643 643
 	/**
644 644
 	 * @param int $revisionId
645
-	 * @param EntityId|string $entityId
645
+	 * @param EntityId $entityId
646 646
 	 * @param string $summary
647 647
 	 * @param User|string $user
648 648
 	 */
@@ -679,7 +679,7 @@  discard block
 block discarded – undo
679 679
 	 * Returns the newest (according to the revision id) log entry
680 680
 	 * for the given entity.
681 681
 	 *
682
-	 * @param EntityId|string $entityId
682
+	 * @param ItemId $entityId
683 683
 	 *
684 684
 	 * @return array|null An associative array containing the fields
685 685
 	 * 'revision', 'entity', 'summary', and 'user'.
Please login to merge, or discard this patch.
repo/includes/ChangeOp/ChangeOpsMerge.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
 	 *
280 280
 	 * @param Statement $fromStatement
281 281
 	 *
282
-	 * @return Statement|false Statement to merge reference into or false
282
+	 * @return Statement Statement to merge reference into or false
283 283
 	 */
284 284
 	private function findEquivalentStatement( $fromStatement ) {
285 285
 		$fromHash = $this->getStatementHash( $fromStatement );
Please login to merge, or discard this patch.
repo/includes/Dumpers/JsonDumpGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
 	 *
163 163
 	 * @TODO FIXME duplicated / similar code in Repo ResultBuilder
164 164
 	 *
165
-	 * @return array
165
+	 * @return string
166 166
 	 */
167 167
 	private function injectEntitySerializationWithDataTypes( array $serialization ) {
168 168
 		$serialization = $this->modifier->modifyUsingCallback(
Please login to merge, or discard this patch.
repo/includes/Parsers/MwTimeIsoParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
 	/**
179 179
 	 * @param string $msgKey
180 180
 	 *
181
-	 * @return boolean
181
+	 * @return string
182 182
 	 */
183 183
 	private function isBceMsg( $msgKey ) {
184 184
 		return strstr( $msgKey, '-BCE-' );
Please login to merge, or discard this patch.