Completed
Push — master ( 259aca...c91093 )
by
unknown
06:39
created
lib/tests/phpunit/Store/CachingEntityRevisionLookupTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	 * @param EntityRevision[] $entityRevisions
34 34
 	 * @param EntityRedirect[] $entityRedirects
35 35
 	 *
36
-	 * @return EntityLookup
36
+	 * @return CachingEntityRevisionLookup
37 37
 	 */
38 38
 	protected function newEntityRevisionLookup( array $entityRevisions, array $entityRedirects ) {
39 39
 		$mock = new MockRepository();
@@ -261,6 +261,9 @@  discard block
 block discarded – undo
261 261
 			->map();
262 262
 	}
263 263
 
264
+	/**
265
+	 * @param string $message
266
+	 */
264 267
 	private function assertNonexistentRevision( LatestRevisionIdResult $result, $message ) {
265 268
 		$shouldNotBeCalled = function () use ( $message ) {
266 269
 			$this->fail( $message );
Please login to merge, or discard this patch.
EntityReferenceExtractors/EntityReferenceExtractorDelegatorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 	}
91 91
 
92 92
 	/**
93
-	 * @return StatementEntityReferenceExtractor|MockObject
93
+	 * @return StatementEntityReferenceExtractor
94 94
 	 */
95 95
 	private function getMockStatementEntityReferenceExtractor() {
96 96
 		return $this->getMockBuilder( StatementEntityReferenceExtractor::class )
Please login to merge, or discard this patch.
view/tests/phpunit/ItemViewTest.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
 	/**
54 54
 	 * Generates a suitable entity ID based on $n.
55 55
 	 *
56
-	 * @param int|string $n
56
+	 * @param integer $n
57 57
 	 *
58 58
 	 * @return ItemId
59 59
 	 */
Please login to merge, or discard this patch.
client/includes/Specials/SpecialUnconnectedPages.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,8 +151,8 @@
 block discarded – undo
151 151
 	/**
152 152
 	 * @see QueryPage::reallyDoQuery
153 153
 	 *
154
-	 * @param int|bool $limit
155
-	 * @param int|bool $offset
154
+	 * @param integer $limit
155
+	 * @param integer $offset
156 156
 	 *
157 157
 	 * @return IResultWrapper
158 158
 	 */
Please login to merge, or discard this patch.
lib/includes/Store/Sql/Terms/Util/ReplicaMasterAwareRecordIdsAcquirer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -164,6 +164,9 @@
 block discarded – undo
164 164
 		return $existingRecords;
165 165
 	}
166 166
 
167
+	/**
168
+	 * @param callable $recordsToInsertDecoratorCallback
169
+	 */
167 170
 	private function insertNonExistingRecords(
168 171
 		array $records,
169 172
 		$recordsToInsertDecoratorCallback = null
Please login to merge, or discard this patch.
lib/tests/phpunit/Formatters/GlobeCoordinateKartographerFormatterTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -73,6 +73,11 @@  discard block
 block discarded – undo
73 73
 		$formatter->format( new StringValue( 'A string is not a coordinate?!' ) );
74 74
 	}
75 75
 
76
+	/**
77
+	 * @param integer $totalCalls
78
+	 *
79
+	 * @return CachingKartographerEmbeddingHandler
80
+	 */
76 81
 	private function newCachingKartographerEmbeddingHandler(
77 82
 		$totalCalls,
78 83
 		$isPreview = false,
@@ -96,6 +101,11 @@  discard block
 block discarded – undo
96 101
 		return $handler;
97 102
 	}
98 103
 
104
+	/**
105
+	 * @param integer $expectedFormatCalls
106
+	 *
107
+	 * @return ValueFormatter
108
+	 */
99 109
 	private function newBaseValueFormatter( $expectedFormatCalls ) {
100 110
 		$formatter = $this->createMock( ValueFormatter::class );
101 111
 
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
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 	 *
225 225
 	 * @param EntityDocument $entity
226 226
 	 * @param int $revisionId
227
-	 * @param int|string $timestamp
227
+	 * @param integer $timestamp
228 228
 	 * @param User|string|null $user
229 229
 	 *
230 230
 	 * @throws StorageException
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 	 *
288 288
 	 * @param EntityRedirect $redirect
289 289
 	 * @param int $revisionId
290
-	 * @param string|int $timestamp
290
+	 * @param integer $timestamp
291 291
 	 *
292 292
 	 * @throws StorageException
293 293
 	 */
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
 	/**
642 642
 	 * @param string $idString
643 643
 	 *
644
-	 * @return ItemId|PropertyId
644
+	 * @return EntityId
645 645
 	 */
646 646
 	private function parseId( $idString ) {
647 647
 		$parser = new BasicEntityIdParser();
@@ -650,7 +650,7 @@  discard block
 block discarded – undo
650 650
 
651 651
 	/**
652 652
 	 * @param int $revisionId
653
-	 * @param EntityId|string $entityId
653
+	 * @param EntityId $entityId
654 654
 	 * @param string $summary
655 655
 	 * @param User|string $user
656 656
 	 * @param string[] $tags
@@ -689,7 +689,7 @@  discard block
 block discarded – undo
689 689
 	 * Returns the newest (according to the revision id) log entry
690 690
 	 * for the given entity.
691 691
 	 *
692
-	 * @param EntityId|string $entityId
692
+	 * @param ItemId $entityId
693 693
 	 *
694 694
 	 * @return array|null An associative array containing the fields
695 695
 	 * 'revision', 'entity', 'summary', 'user', and 'tags'.
Please login to merge, or discard this patch.
tests/phpunit/Store/Sql/Terms/CachedDatabasePropertyLabelResolverTest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 
20 20
 	/**
21 21
 	 * @param string $lang
22
-	 * @param TermIndexEntry[] $terms
23 22
 	 *
24 23
 	 * @return PropertyLabelResolver
25 24
 	 */
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.