Completed
Push — master ( 259aca...c91093 )
by
unknown
06:39
created
repo/tests/phpunit/includes/Specials/SpecialRedirectEntityTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -151,6 +151,9 @@
 block discarded – undo
151 151
 		);
152 152
 	}
153 153
 
154
+	/**
155
+	 * @return string
156
+	 */
154 157
 	private function executeSpecialEntityRedirect( array $params, User $user = null ) {
155 158
 		if ( !$user ) {
156 159
 			// TODO Matching the token of a non-anonymous user is complicated.
Please login to merge, or discard this patch.
client/includes/Api/PageTerms.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 
124 124
 	/**
125 125
 	 * @param Title[] $titles
126
-	 * @param int|null $continue
126
+	 * @param integer $continue
127 127
 	 *
128 128
 	 * @return array
129 129
 	 */
Please login to merge, or discard this patch.
repo/includes/EditEntity/MediawikiEditEntityFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 	/**
90 90
 	 * @param User $user the user performing the edit
91 91
 	 * @param EntityId|null $entityId the id of the entity to edit
92
-	 * @param bool|int|null $baseRevId the base revision ID for conflict checking.
92
+	 * @param integer $baseRevId the base revision ID for conflict checking.
93 93
 	 *        Use 0 to indicate that the current revision should be used as the base revision,
94 94
 	 *        effectively disabling conflict detections. true and false will be accepted for
95 95
 	 *        backwards compatibility, but both will be treated like 0. Note that the behavior
Please login to merge, or discard this patch.
data-access/tests/phpunit/FakePrefetchingTermLookup.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@
 block discarded – undo
17 17
 	private $buffer;
18 18
 
19 19
 	/**
20
-	 * @param array $entityIds
21
-	 * @param array|null $termTypes if null, defaults to labels and descriptions only
22
-	 * @param array|null $languageCodes if null, defaults to de and en
20
+	 * @param \Wikibase\DataModel\Entity\ItemId[] $entityIds
21
+	 * @param string[] $termTypes if null, defaults to labels and descriptions only
22
+	 * @param string[] $languageCodes if null, defaults to de and en
23 23
 	 */
24 24
 	public function prefetchTerms( array $entityIds, array $termTypes, array $languageCodes ) {
25 25
 		if ( $termTypes === null ) {
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Content/EntityContentTestCase.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -91,6 +91,10 @@
 block discarded – undo
91 91
 		$this->assertSame( $expected, $entityContent->getTextForSearchIndex() );
92 92
 	}
93 93
 
94
+	/**
95
+	 * @param string $languageCode
96
+	 * @param string $text
97
+	 */
94 98
 	private function setLabel( EntityDocument $entity, $languageCode, $text ) {
95 99
 		if ( !( $entity instanceof LabelsProvider ) ) {
96 100
 			throw new InvalidArgumentException( '$entity must be a LabelsProvider' );
Please login to merge, or discard this patch.
lib/tests/phpunit/Store/ItemTermStoreWriterAdapterTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@  discard block
 block discarded – undo
57 57
 		);
58 58
 	}
59 59
 
60
+	/**
61
+	 * @return EntityDocument
62
+	 */
60 63
 	private function newUnsupportedEntity() {
61 64
 		return $this->createMock( EntityDocument::class );
62 65
 	}
@@ -68,6 +71,9 @@  discard block
 block discarded – undo
68 71
 		$writer->deleteTermsOfEntity( $this->newUnsupportedId() );
69 72
 	}
70 73
 
74
+	/**
75
+	 * @return EntityId
76
+	 */
71 77
 	public function newUnsupportedId() {
72 78
 		return $this->createMock( EntityId::class );
73 79
 	}
Please login to merge, or discard this patch.
lib/tests/phpunit/Store/PropertyTermStoreWriterAdapterTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@  discard block
 block discarded – undo
57 57
 		);
58 58
 	}
59 59
 
60
+	/**
61
+	 * @return EntityDocument
62
+	 */
60 63
 	private function newUnsupportedEntity() {
61 64
 		return $this->createMock( EntityDocument::class );
62 65
 	}
@@ -68,6 +71,9 @@  discard block
 block discarded – undo
68 71
 		$writer->deleteTermsOfEntity( $this->newUnsupportedId() );
69 72
 	}
70 73
 
74
+	/**
75
+	 * @return EntityId
76
+	 */
71 77
 	public function newUnsupportedId() {
72 78
 		return $this->createMock( EntityId::class );
73 79
 	}
Please login to merge, or discard this patch.
tests/phpunit/Store/Sql/Terms/DatabaseTermStoreWriterTestGetTermsTrait.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -25,6 +25,11 @@
 block discarded – undo
25 25
  */
26 26
 trait DatabaseTermStoreWriterTestGetTermsTrait {
27 27
 
28
+	/**
29
+	 * @param string $termsTable
30
+	 * @param string $termInLangField
31
+	 * @param string $idField
32
+	 */
28 33
 	private function getTerms( Int32EntityId $entityId, $termsTable, $termInLangField, $idField ): Fingerprint {
29 34
 		$loadBalancer = new FakeLoadBalancer( [
30 35
 			'dbr' => $this->db,
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Store/Sql/WikiPageEntityMetaDataLookupTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@  discard block
 block discarded – undo
85 85
 	}
86 86
 
87 87
 	/**
88
+	 * @param EntityNamespaceLookup $namespaceLookup
88 89
 	 * @return WikiPageEntityMetaDataLookup
89 90
 	 */
90 91
 	private function getWikiPageEntityMetaDataLookup( $namespaceLookup = null ) {
@@ -163,6 +164,8 @@  discard block
 block discarded – undo
163 164
 
164 165
 	/**
165 166
 	 * Gets a "lagged" database connection: We always leave out the first row on select.
167
+	 * @param integer $selectCount
168
+	 * @param integer $selectRowCount
166 169
 	 */
167 170
 	private function getLaggedDatabase( IDatabase $realDB, $selectCount, $selectRowCount ) {
168 171
 		$db = $this->getMockBuilder( IDatabase::class )
Please login to merge, or discard this patch.