Completed
Pull Request — master (#12)
by
unknown
11:14 queued 04:45
created
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.
repo/includes/Api/ModifyEntity.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -210,6 +210,9 @@  discard block
 block discarded – undo
210 210
 		return $params;
211 211
 	}
212 212
 
213
+	/**
214
+	 * @param integer $baseRevId
215
+	 */
213 216
 	protected function validateEntitySpecificParameters(
214 217
 		array $preparedParameters,
215 218
 		EntityDocument $entity,
@@ -319,6 +322,9 @@  discard block
 block discarded – undo
319 322
 		return $status;
320 323
 	}
321 324
 
325
+	/**
326
+	 * @param integer $oldRevId
327
+	 */
322 328
 	private function addToOutput( EntityDocument $entity, Status $status, $oldRevId = null ) {
323 329
 		$this->getResultBuilder()->addBasicEntityInformation( $entity->getId(), 'entity' );
324 330
 		$this->getResultBuilder()->addRevisionIdFromStatusToResult( $status, 'entity', $oldRevId );
Please login to merge, or discard this patch.
repo/includes/Content/ItemHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	 * @param EntityContent $content
157 157
 	 * @param Title $title
158 158
 	 *
159
-	 * @return DataUpdate[]
159
+	 * @return DataUpdateAdapter[]
160 160
 	 */
161 161
 	public function getEntityDeletionUpdates( EntityContent $content, Title $title ) {
162 162
 		$updates = [];
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 	 * @param EntityContent $content
181 181
 	 * @param Title $title
182 182
 	 *
183
-	 * @return DataUpdate[]
183
+	 * @return DataUpdateAdapter[]
184 184
 	 */
185 185
 	public function getEntityModificationUpdates( EntityContent $content, Title $title ) {
186 186
 		$updates = [];
Please login to merge, or discard this patch.
repo/includes/Content/PropertyHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	 * @param EntityContent $content
157 157
 	 * @param Title $title
158 158
 	 *
159
-	 * @return DataUpdate[]
159
+	 * @return DataUpdateAdapter[]
160 160
 	 */
161 161
 	public function getEntityDeletionUpdates( EntityContent $content, Title $title ) {
162 162
 		$updates = [];
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 	 * @param EntityContent $content
181 181
 	 * @param Title $title
182 182
 	 *
183
-	 * @return DataUpdate[]
183
+	 * @return DataUpdateAdapter[]
184 184
 	 */
185 185
 	public function getEntityModificationUpdates( EntityContent $content, Title $title ) {
186 186
 		$updates = [];
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Api/SetClaimValueTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 	}
65 65
 
66 66
 	/**
67
-	 * @param EntityDocument|StatementListProvider $entity
67
+	 * @param EntityDocument $entity
68 68
 	 * @param PropertyId $propertyId
69 69
 	 *
70 70
 	 * @return EntityDocument|StatementListProvider
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.
repo/tests/phpunit/maintenance/DumpRdfTest.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.
lib/includes/Store/HashSiteLinkStore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
 	 * @param string $pageTitle
215 215
 	 *
216 216
 	 * @throws InvalidArgumentException if a parameter does not have the expected type
217
-	 * @return EntityId|null
217
+	 * @return ItemId|null
218 218
 	 */
219 219
 	public function getEntityIdForLinkedTitle( $globalSiteId, $pageTitle ) {
220 220
 		return $this->getItemIdForLink( $globalSiteId, $pageTitle );
Please login to merge, or discard this patch.
lib/includes/Store/Sql/SiteLinkTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
 	 * @param string $pageTitle
215 215
 	 *
216 216
 	 * @throws InvalidArgumentException if a parameter does not have the expected type
217
-	 * @return EntityId|null
217
+	 * @return ItemId|null
218 218
 	 */
219 219
 	public function getEntityIdForLinkedTitle( $globalSiteId, $pageTitle ) {
220 220
 		return $this->getItemIdForLink( $globalSiteId, $pageTitle );
Please login to merge, or discard this patch.