Completed
Push — master ( db6b00...5246ee )
by
unknown
08:09 queued 11s
created
client/includes/WikibaseClient.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -524,7 +524,7 @@  discard block
 block discarded – undo
524 524
 	}
525 525
 
526 526
 	/**
527
-	 * @return TermBuffer|AliasTermBuffer
527
+	 * @return null|TermBuffer
528 528
 	 */
529 529
 	public function getTermBuffer() {
530 530
 		if ( !$this->termBuffer ) {
@@ -1526,6 +1526,9 @@  discard block
 block discarded – undo
1526 1526
 		return $this->referenceFormatterFactory;
1527 1527
 	}
1528 1528
 
1529
+	/**
1530
+	 * @param string $cacheKey
1531
+	 */
1529 1532
 	private function getCachedDatabasePropertyLabelResolver(
1530 1533
 		$languageCode,
1531 1534
 		$cache,
Please login to merge, or discard this patch.
tests/phpunit/integration/includes/Changes/AffectedPagesFinderTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -535,6 +535,9 @@  discard block
 block discarded – undo
535 535
 		$this->assertSame( [], $usages );
536 536
 	}
537 537
 
538
+	/**
539
+	 * @return UsageLookup
540
+	 */
538 541
 	private function getSiteLinkUsageLookup() {
539 542
 		$pageEntityUsages = [ new PageEntityUsages( 1, [] ) ];
540 543
 		$mock = $this->createMock( UsageLookup::class );
@@ -639,6 +642,9 @@  discard block
 block discarded – undo
639 642
 		return $strings;
640 643
 	}
641 644
 
645
+	/**
646
+	 * @param PageEntityUsages[] $actual
647
+	 */
642 648
 	private function assertPageEntityUsages( $expected, $actual, $message = '' ) {
643 649
 		$this->assertEquals(
644 650
 			$this->getPageEntityUsageStrings( $expected ),
Please login to merge, or discard this patch.
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.
integration/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/unit/includes/Api/DescriptionTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
 	 * @param bool $allowLocalShortDesc
46 46
 	 * @param array $params
47 47
 	 * @param array $requestedPageIds
48
-	 * @param array $localDescriptions
49
-	 * @param array $centralDescriptions
48
+	 * @param array $descriptions
49
+	 * @param array $descriptions
50 50
 	 * @param int $fitLimit
51 51
 	 * @param array $expectedResult
52 52
 	 * @param int $expectedContinue
Please login to merge, or discard this patch.
includes/DataAccess/ParserFunctions/StatementGroupRendererFactoryTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -295,6 +295,13 @@  discard block
 block discarded – undo
295 295
 		return $parser;
296 296
 	}
297 297
 
298
+	/**
299
+	 * @param string $languageCode
300
+	 * @param string $userLanguageCode
301
+	 * @param boolean $interfaceMessage
302
+	 * @param boolean $disableContentConversion
303
+	 * @param boolean $disableTitleConversion
304
+	 */
298 305
 	private function getParserOptions( $languageCode, $userLanguageCode, $interfaceMessage,
299 306
 		$disableContentConversion, $disableTitleConversion
300 307
 	) {
@@ -310,6 +317,9 @@  discard block
 block discarded – undo
310 317
 		return $parserOptions;
311 318
 	}
312 319
 
320
+	/**
321
+	 * @return LanguageFallbackLabelDescriptionLookupFactory
322
+	 */
313 323
 	private function getLanguageFallbackLabelDescriptionLookupFactory() {
314 324
 		$languageFallbackLabelDescriptionLookup = $this->getMockBuilder( LanguageFallbackLabelDescriptionLookup::class )
315 325
 			->disableOriginalConstructor()
Please login to merge, or discard this patch.
tests/phpunit/unit/includes/DataAccess/Scribunto/EntityAccessorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@
 block discarded – undo
82 82
 		);
83 83
 	}
84 84
 
85
+	/**
86
+	 * @param EntityUsage[] $actualUsages
87
+	 */
85 88
 	private function hasUsage( $actualUsages, EntityId $entityId, $aspect, $modifier = null ) {
86 89
 		$usage = new EntityUsage( $entityId, $aspect, $modifier );
87 90
 		$key = $usage->getIdentityString();
Please login to merge, or discard this patch.
tests/phpunit/unit/includes/Hooks/SkinAfterBottomScriptsHandlerTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,8 +106,8 @@
 block discarded – undo
106 106
 
107 107
 	/**
108 108
 	 * @param string $baseURL
109
-	 * @param string $text
110 109
 	 * @param string|null $earliestRevTimestamp
110
+	 * @param string $titleText
111 111
 	 * @return Title
112 112
 	 */
113 113
 	private function mockTitle( $baseURL, $titleText, $earliestRevTimestamp = null ) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use File;
6 6
 use Title;
7
-
8 7
 use Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler;
9 8
 use Wikibase\Client\RepoLinker;
10 9
 use Wikibase\Client\WikibaseClient;
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Actions/ActionTestCase.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -252,6 +252,10 @@
 block discarded – undo
252 252
 		return $result;
253 253
 	}
254 254
 
255
+	/**
256
+	 * @param string $comment
257
+	 * @param integer $flags
258
+	 */
255 259
 	private function createTestItem( EntityDocument $entity, $comment, $user, $flags ) {
256 260
 		$store = WikibaseRepo::getDefaultInstance()->getEntityStore();
257 261
 		$rev = $store->saveEntity( $entity, $comment, $user, $flags );
Please login to merge, or discard this patch.