Completed
Pull Request — master (#4)
by
unknown
08:24
created
repo/tests/phpunit/includes/ChangeOp/ChangeOpMainSnakTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -176,6 +176,9 @@  discard block
 block discarded – undo
176 176
 		$changeOp->apply( $item );
177 177
 	}
178 178
 
179
+	/**
180
+	 * @param string $itemIdString
181
+	 */
179 182
 	private function makeNewItemWithClaim( $itemIdString, $snak ) {
180 183
 		$item = new Item( new ItemId( $itemIdString ) );
181 184
 
@@ -189,6 +192,9 @@  discard block
 block discarded – undo
189 192
 		return $item;
190 193
 	}
191 194
 
195
+	/**
196
+	 * @param string $propertyId
197
+	 */
192 198
 	private function makeSnak( $propertyId, $value ) {
193 199
 		if ( is_string( $propertyId ) ) {
194 200
 			$propertyId = new PropertyId( $propertyId );
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/ChangeOp/ChangeOpStatementRankTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -76,6 +76,10 @@
 block discarded – undo
76 76
 		$this->assertEquals( $rank, $expectedRank, "No reference with expected hash" );
77 77
 	}
78 78
 
79
+	/**
80
+	 * @param string $itemIdString
81
+	 * @param PropertyValueSnak $mainSnak
82
+	 */
79 83
 	private function newItemWithClaim( $itemIdString, $mainSnak ) {
80 84
 		$item = new Item( new ItemId( $itemIdString ) );
81 85
 
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/EditEntityTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
  */
38 38
 class EditEntityTest extends MediaWikiTestCase {
39 39
 
40
+	/**
41
+	 * @param string $name
42
+	 */
40 43
 	private function getUser( $name ) {
41 44
 		$user = User::newFromName( $name );
42 45
 
Please login to merge, or discard this patch.
repo/tests/phpunit/maintenance/dumpJsonTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -166,6 +166,9 @@
 block discarded – undo
166 166
 		return $mockDataTypeLookup;
167 167
 	}
168 168
 
169
+	/**
170
+	 * @param string $string
171
+	 */
169 172
 	private function fixLineEndings( $string ) {
170 173
 		return preg_replace( '~(*BSR_ANYCRLF)\R~', "\n", $string );
171 174
 	}
Please login to merge, or discard this patch.
view/src/ClaimHtmlGenerator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@
 block discarded – undo
142 142
 		return $this->wrapInListview( $referencesHtml );
143 143
 	}
144 144
 
145
+	/**
146
+	 * @param string $listviewContent
147
+	 */
145 148
 	private function wrapInListview( $listviewContent ) {
146 149
 		if ( $listviewContent !== '' ) {
147 150
 			return $this->templateFactory->render( 'wikibase-listview', $listviewContent );
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/EntityModificationTestHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
 	 * @param array $data
145 145
 	 * @param EntityId|string|null $id
146 146
 	 *
147
-	 * @return object
147
+	 * @return EntityDocument
148 148
 	 */
149 149
 	public function unserializeEntity( array $data, $id = null ) {
150 150
 		if ( $id !== null ) {
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/ChangeOp/ChangeOpsMergeTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
 		);
145 145
 	}
146 146
 
147
+	/**
148
+	 * @param string $idString
149
+	 */
147 150
 	private function newItemWithId( $idString ) {
148 151
 		return new Item( new ItemId( $idString ) );
149 152
 	}
Please login to merge, or discard this patch.
repo/includes/ChangeDispatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -451,6 +451,9 @@
 block discarded – undo
451 451
 		}
452 452
 	}
453 453
 
454
+	/**
455
+	 * @param string $message
456
+	 */
454 457
 	private function log( $message ) {
455 458
 		$this->messageReporter->reportMessage( $message );
456 459
 	}
Please login to merge, or discard this patch.
repo/includes/ParserOutput/EntityParserOutputDataUpdater.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
 		$this->dataUpdaters = $dataUpdaters;
57 57
 	}
58 58
 
59
+	/**
60
+	 * @param ParserOutputDataUpdater $updater
61
+	 */
59 62
 	private function registerDataUpdater( $updater ) {
60 63
 		if ( !( $updater instanceof StatementDataUpdater ) &&
61 64
 		     !( $updater instanceof SiteLinkDataUpdater )
Please login to merge, or discard this patch.