Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
src/DataValues/TemperatureValue.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
 		return $this->getUnitID( $unit );
177 177
 	}
178 178
 
179
+	/**
180
+	 * @param string|false $unit
181
+	 */
179 182
 	private function convertToKelvin( $number, $unit ) {
180 183
 
181 184
 		switch ( $unit ) {
@@ -195,6 +198,9 @@  discard block
 block discarded – undo
195 198
 		return false; // unsupported unit
196 199
 	}
197 200
 
201
+	/**
202
+	 * @param string|false $unit
203
+	 */
198 204
 	private function convertToUnit( $number, $unit ) {
199 205
 
200 206
 		switch ( $unit ) {
Please login to merge, or discard this patch.
src/DataValues/ValueParsers/AllowsPatternContentParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
 		return $contentList[$userValue];
63 63
 	}
64 64
 
65
+	/**
66
+	 * @param string $contents
67
+	 */
65 68
 	private function doParseContent( $contents ) {
66 69
 
67 70
 		$list = array();
Please login to merge, or discard this patch.
src/Maintenance/DistinctEntityDataRebuilder.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@  discard block
 block discarded – undo
71 71
 	/**
72 72
 	 * @since 2.1
73 73
 	 *
74
-	 * @param MessageReporter $reporter
75 74
 	 */
76 75
 	public function setOptions( Options $options ) {
77 76
 		$this->options = $options;
@@ -281,6 +280,10 @@  discard block
 block discarded – undo
281 280
 		}
282 281
 	}
283 282
 
283
+	/**
284
+	 * @param boolean $verbose
285
+	 * @param string $progress
286
+	 */
284 287
 	private function doPrintDotProgressIndicator( $verbose, $progress ) {
285 288
 
286 289
 		if ( ( $this->rebuildCount - 1 ) % 60 === 0 ) {
Please login to merge, or discard this patch.
src/DataTypeRegistry.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 	/**
323 323
 	 * @since 2.4
324 324
 	 *
325
-	 * @return array
325
+	 * @return string[]
326 326
 	 */
327 327
 	public function getCanonicalDatatypeLabels() {
328 328
 		return $this->canonicalLabels;
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
 	 * returned for internal types without user labels (e.g. the special types
335 335
 	 * for some special properties), and for user defined types.
336 336
 	 *
337
-	 * @return array
337
+	 * @return string[]
338 338
 	 */
339 339
 	public function getKnownTypeLabels() {
340 340
 		return $this->typeLabels;
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
 	/**
344 344
 	 * @since 2.1
345 345
 	 *
346
-	 * @return array
346
+	 * @return string[]
347 347
 	 */
348 348
 	public function getKnownTypeAliases() {
349 349
 		return $this->typeAliases;
Please login to merge, or discard this patch.
src/PropertyRegistry.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 	/**
124 124
 	 * @since 2.1
125 125
 	 *
126
-	 * @return array
126
+	 * @return string[]
127 127
 	 */
128 128
 	public function getKnownPropertyAliases() {
129 129
 		return $this->propertyAliasFinder->getKnownPropertyAliases();
@@ -267,6 +267,7 @@  discard block
 block discarded – undo
267 267
 
268 268
 	/**
269 269
 	 * @deprecated since 2.1 use findPropertyIdByLabel instead
270
+	 * @param string $label
270 271
 	 */
271 272
 	public function findPropertyId( $label, $useAlias = true ) {
272 273
 		return $this->findPropertyIdByLabel( $label, $useAlias );
@@ -369,6 +370,9 @@  discard block
 block discarded – undo
369 370
 		\Hooks::run( 'SMW::Property::initProperties', array( $this ) );
370 371
 	}
371 372
 
373
+	/**
374
+	 * @param string|boolean $label
375
+	 */
372 376
 	private function registerPropertyLabel( $id, $label, $asCanonical = true ) {
373 377
 		$this->propertyLabelFinder->registerPropertyLabel( $id, $label, $asCanonical );
374 378
 	}
Please login to merge, or discard this patch.
src/DataValues/UniquenessConstraintValue.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 	/**
30 30
 	 * @see DataValue::parseUserValue
31 31
 	 *
32
-	 * @param string $value
33 32
 	 */
34 33
 	protected function parseUserValue( $userValue ) {
35 34
 
Please login to merge, or discard this patch.
tests/phpunit/includes/export/ExportSemanticDataTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use SMW\Tests\Utils\Validators\ExportDataValidator;
13 13
 use SMWExpNsResource as ExpNsResource;
14 14
 use SMWExporter as Exporter;
15
-use SMWExpResource as ExpResource;
16 15
 
17 16
 /**
18 17
  * @covers \SMWExporter
Please login to merge, or discard this patch.
tests/phpunit/Utils/Validators/SemanticDataValidator.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 	/**
113 113
 	 * @since 2.1
114 114
 	 *
115
-	 * @param array $expected
115
+	 * @param DIProperty[] $expected
116 116
 	 * @param array $properties
117 117
 	 */
118 118
 	public function assertHasProperties( array $expected, array $properties ) {
@@ -344,6 +344,10 @@  discard block
 block discarded – undo
344 344
 		);
345 345
 	}
346 346
 
347
+	/**
348
+	 * @param \SMWDataValue $dataValue
349
+	 * @param string $defaultFormatter
350
+	 */
347 351
 	private function assertContainsPropertyValues( &$expected, $dataValue, $defaultFormatter, $formatterParameters = array() ) {
348 352
 
349 353
 		if ( !isset( $expected['propertyValues'] ) ) {
Please login to merge, or discard this patch.
src/MediaWiki/Api/ApiRequestParameterFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 	 *
73 73
 	 * @since 1.9
74 74
 	 *
75
-	 * @return ObjectDictionary
75
+	 * @return Options
76 76
 	 */
77 77
 	protected function formatAskArgs() {
78 78
 
Please login to merge, or discard this patch.