Completed
Push — master ( f835ba...dee201 )
by mw
47:53 queued 08:25
created
includes/specials/SMW_SpecialSMWAdmin.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -202,6 +202,9 @@  discard block
 block discarded – undo
202 202
 			->getForm();
203 203
 	}
204 204
 
205
+	/**
206
+	 * @param integer $id
207
+	 */
205 208
 	protected function getIdLookupSectionForm( $id ) {
206 209
 
207 210
 		$message = '';
@@ -242,6 +245,9 @@  discard block
 block discarded – undo
242 245
 			->getForm();
243 246
 	}
244 247
 
248
+	/**
249
+	 * @param integer $id
250
+	 */
245 251
 	protected function getIdDisposeSectionForm( $id ) {
246 252
 
247 253
 		$message = '';
@@ -341,6 +347,9 @@  discard block
 block discarded – undo
341 347
 		} );
342 348
 	}
343 349
 
350
+	/**
351
+	 * @param integer $id
352
+	 */
344 353
 	protected function doIdDispose( $id ) {
345 354
 
346 355
 		if ( $GLOBALS['wgRequest']->getText( 'dispose' ) !== 'yes' || $id < 1 ) {
@@ -358,6 +367,9 @@  discard block
 block discarded – undo
358 367
 		$manualEntryLogger->log( 'admin', $this->getUser(), 'Special:SMWAdmin', 'Forced removal of ID '. $id );
359 368
 	}
360 369
 
370
+	/**
371
+	 * @param Closure $text
372
+	 */
361 373
 	protected function printRawOutput( $text ) {
362 374
 		$this->getOutput()->disable(); // raw output
363 375
 		ob_start();
Please login to merge, or discard this patch.
src/DataValues/BooleanValue.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,6 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
 	/**
77 77
 	 * @see DataValue::setOutputFormat
78
+	 * @param string $formatstring
78 79
 	 */
79 80
 	public function setOutputFormat( $formatstring ) {
80 81
 
@@ -160,7 +161,7 @@  discard block
 block discarded – undo
160 161
 	/**
161 162
 	 * Get text for displaying the value of this property, or false if not
162 163
 	 * valid.
163
-	 * @param $useformat bool, true if the output format should be used, false if the returned text should be parsable
164
+	 * @param boolean $useformat bool, true if the output format should be used, false if the returned text should be parsable
164 165
 	 * @return string
165 166
 	 */
166 167
 	protected function getStandardCaption( $useformat ) {
@@ -179,6 +180,9 @@  discard block
 block discarded – undo
179 180
 		);
180 181
 	}
181 182
 
183
+	/**
184
+	 * @param string $value
185
+	 */
182 186
 	private function doParseBoolValue( $value ) {
183 187
 
184 188
 		// Use either the global or page related content language
@@ -223,6 +227,9 @@  discard block
 block discarded – undo
223 227
 		);
224 228
 	}
225 229
 
230
+	/**
231
+	 * @param string $msgKey
232
+	 */
226 233
 	private function getFirstBooleanCaptionFrom( $msgKey, $languageCode = null ) {
227 234
 
228 235
 		$vals = $this->getBooleanWordsFrom(
Please login to merge, or discard this patch.
includes/query/SMW_QueryProcessor.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -168,7 +168,6 @@  discard block
 block discarded – undo
168 168
 	 * @since 1.7
169 169
 	 *
170 170
 	 * @param array $sortParam
171
-	 * @param array $orders
172 171
 	 * @param string $defaultSort
173 172
 	 *
174 173
 	 * @return array ( keys => array(), errors => array() )
@@ -363,6 +362,7 @@  discard block
 block discarded – undo
363 362
 	 * @param integer $outputMode SMW_OUTPUT_WIKI, SMW_OUTPUT_HTML, ...
364 363
 	 * @param integer $context INLINE_QUERY, SPECIAL_PAGE, CONCEPT_DESC
365 364
 	 * @param boolean $showMode process like #show parser function?
365
+	 * @param DIWikiPage $contextPage
366 366
 	 * @return array( SMWQuery, array of IParam )
367 367
 	 */
368 368
 	static public function getQueryAndParamsFromFunctionParams( array $rawParams, $outputMode, $context, $showMode, $contextPage = null ) {
@@ -415,9 +415,9 @@  discard block
 block discarded – undo
415 415
 	 * printout requests for the query results.
416 416
 	 *
417 417
 	 * @param string $queryString
418
-	 * @param array $params These need to be the result of a list fed to getProcessedParams
418
+	 * @param Param[] $params These need to be the result of a list fed to getProcessedParams
419 419
 	 * @param $extraPrintouts
420
-	 * @param $outputMode
420
+	 * @param integer $outputMode
421 421
 	 * @param $context
422 422
 	 *
423 423
 	 * @return string
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 	 *
530 530
 	 * @since 1.6.2, return element type changed in 1.8
531 531
 	 *
532
-	 * @return IParamDefinition[]
532
+	 * @return ParamProcessor\IParamDefinition[]
533 533
 	 */
534 534
 	public static function getParameters() {
535 535
 		$params = array();
Please login to merge, or discard this patch.
src/IntlNumberFormatter.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,6 +100,7 @@  discard block
 block discarded – undo
100 100
 	 *
101 101
 	 * @return string $key
102 102
 	 * @param mxied $value
103
+	 * @param string $key
103 104
 	 */
104 105
 	public function setOption( $key, $value ) {
105 106
 		$this->options->set( $key, $value );
@@ -161,7 +162,7 @@  discard block
 block discarded – undo
161 162
 	 * to format a number that was not hand-formatted by a user.
162 163
 	 *
163 164
 	 * @param mixed $value input number
164
-	 * @param integer|false $precision optional positive integer, controls how many digits after
165
+	 * @param boolean $precision optional positive integer, controls how many digits after
165 166
 	 * the decimal point are shown
166 167
 	 *
167 168
 	 * @since 2.1
@@ -277,6 +278,10 @@  discard block
 block discarded – undo
277 278
 		return round( $value, $this->defaultPrecision );
278 279
 	}
279 280
 
281
+	/**
282
+	 * @param string $decimal
283
+	 * @param string $thousand
284
+	 */
280 285
 	private function doFormatWithPrecision( $value, $precision = false, $decimal, $thousand ) {
281 286
 		// Format to some level of precision; number_format does rounding and
282 287
 		// locale formatting, x and y are used temporarily since number_format
@@ -321,6 +326,10 @@  discard block
 block discarded – undo
321 326
 		return $language;
322 327
 	}
323 328
 
329
+	/**
330
+	 * @param string $custom
331
+	 * @param string $standard
332
+	 */
324 333
 	private function getPreferredLocalizedSeparator( $custom, $standard, $language ) {
325 334
 
326 335
 		if ( $this->options->has( $custom ) && ( $separator = $this->options->get( $custom ) ) !== false ) {
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_Number.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 	 * Parse a string of the form "number unit" where unit is optional. The
93 93
 	 * results are stored in the $number and $unit parameters. Returns an
94 94
 	 * error code.
95
-	 * @param $value string to parse
95
+	 * @param string $value string to parse
96 96
 	 * @param $number call-by-ref parameter that will be set to the numerical value
97 97
 	 * @param $unit call-by-ref parameter that will be set to the "unit" string (after the number)
98 98
 	 * @return integer 0 (no errors), 1 (no number found at all), 2 (number
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 	/**
227 227
 	 * @since 2.4
228 228
 	 *
229
-	 * @return float
229
+	 * @return string
230 230
 	 */
231 231
 	public function getLocalizedFormattedNumber( $value ) {
232 232
 		return $this->getNumberFormatter()->format( $value, $this->getPreferredDisplayPrecision() );
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
 	/**
236 236
 	 * @since 2.4
237 237
 	 *
238
-	 * @return float
238
+	 * @return string
239 239
 	 */
240 240
 	public function getNormalizedFormattedNumber( $value ) {
241 241
 		return $this->getNumberFormatter()->format( $value, $this->getPreferredDisplayPrecision(), IntlNumberFormatter::VALUE_FORMAT );
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_String.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * @see DataValue::loadDataItem
36 36
 	 *
37
-	 * @param SMWDataItem $dataitem
37
+	 * @param SMWDataItem $dataItem
38 38
 	 *
39 39
 	 * @return boolean
40 40
 	 */
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
 		return $this->getDataValueFormatter()->format( DataValueFormatter::VALUE );
97 97
 	}
98 98
 
99
+	/**
100
+	 * @param integer $length
101
+	 */
99 102
 	public function getWikiValueForLengthOf( $length ) {
100 103
 
101 104
 		if ( mb_strlen( $this->getWikiValue() ) > $length ) {
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_WikiPage.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@  discard block
 block discarded – undo
72 72
 	 */
73 73
 	protected $linkAttributes = array();
74 74
 
75
+	/**
76
+	 * @param string $typeid
77
+	 */
75 78
 	public function __construct( $typeid ) {
76 79
 		parent::__construct( $typeid );
77 80
 		switch ( $typeid ) {
@@ -630,6 +633,9 @@  discard block
 block discarded – undo
630 633
 		return $dvWikiPage;
631 634
 	}
632 635
 
636
+	/**
637
+	 * @param DataItem $subject
638
+	 */
633 639
 	private function findDisplayTitleFor( $subject ) {
634 640
 
635 641
 		$displayTitle = '';
Please login to merge, or discard this patch.
src/DataValues/InfoLinksProvider.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,6 @@  discard block
 block discarded – undo
83 83
 	 *
84 84
 	 * @since 2.4
85 85
 	 *
86
-	 * @param Infolink $link
87 86
 	 */
88 87
 	public function addInfolink( Infolink $infoLink ) {
89 88
 		$this->infoLinks[] = $infoLink;
@@ -92,7 +91,7 @@  discard block
 block discarded – undo
92 91
 	/**
93 92
 	 * @since 2.4
94 93
 	 *
95
-	 * @param array|false $serviceLinkParameters
94
+	 * @param boolean $serviceLinkParameters
96 95
 	 */
97 96
 	public function setServiceLinkParameters( $serviceLinkParameters ) {
98 97
 		$this->serviceLinkParameters = $serviceLinkParameters;
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3.php 1 patch
Doc Comments   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -250,6 +250,9 @@  discard block
 block discarded – undo
250 250
 		return $this->reader;
251 251
 	}
252 252
 
253
+	/**
254
+	 * @return SemanticData
255
+	 */
253 256
 	public function getSemanticData( DIWikiPage $subject, $filter = false ) {
254 257
 
255 258
 		$result = $this->cachedValueLookupStore->getSemanticData(
@@ -261,7 +264,7 @@  discard block
 block discarded – undo
261 264
 	}
262 265
 
263 266
 	/**
264
-	 * @param mixed $subject
267
+	 * @param DIWikiPage $subject
265 268
 	 * @param DIProperty $property
266 269
 	 * @param null $requestOptions
267 270
 	 *
@@ -407,7 +410,7 @@  discard block
 block discarded – undo
407 410
 	/**
408 411
 	 * @param RequestOptions|null $requestOptions
409 412
 	 *
410
-	 * @return CachedListLookup
413
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
411 414
 	 */
412 415
 	public function getPropertiesSpecial( $requestOptions = null ) {
413 416
 		return $this->factory->newPropertyUsageCachedListLookup( $requestOptions );
@@ -416,7 +419,7 @@  discard block
 block discarded – undo
416 419
 	/**
417 420
 	 * @param RequestOptions|null $requestOptions
418 421
 	 *
419
-	 * @return CachedListLookup
422
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
420 423
 	 */
421 424
 	public function getUnusedPropertiesSpecial( $requestOptions = null ) {
422 425
 		return $this->factory->newUnusedPropertyCachedListLookup( $requestOptions );
@@ -425,7 +428,7 @@  discard block
 block discarded – undo
425 428
 	/**
426 429
 	 * @param RequestOptions|null $requestOptions
427 430
 	 *
428
-	 * @return CachedListLookup
431
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
429 432
 	 */
430 433
 	public function getWantedPropertiesSpecial( $requestOptions = null ) {
431 434
 		return $this->factory->newUndeclaredPropertyCachedListLookup( $requestOptions );
@@ -473,7 +476,7 @@  discard block
 block discarded – undo
473 476
 	 *
474 477
 	 * @since 1.8
475 478
 	 * @param Title $concept
476
-	 * @return array of error strings (empty if no errors occurred)
479
+	 * @return string[] of error strings (empty if no errors occurred)
477 480
 	 */
478 481
 	public function refreshConceptCache( Title $concept ) {
479 482
 		return $this->factory->newMasterConceptCache()->refreshConceptCache( $concept );
@@ -515,7 +518,7 @@  discard block
 block discarded – undo
515 518
 	 * @since 1.8
516 519
 	 *
517 520
 	 * @param SMWRequestOptions|null $requestOptions
518
-	 * @param string $valuecol
521
+	 * @param string $valueCol
519 522
 	 *
520 523
 	 * @return array
521 524
 	 */
Please login to merge, or discard this patch.