@@ -29,7 +29,6 @@ |
||
29 | 29 | /** |
30 | 30 | * @see DataValue::parseUserValue |
31 | 31 | * |
32 | - * @param string $value |
|
33 | 32 | */ |
34 | 33 | protected function parseUserValue( $userValue ) { |
35 | 34 |
@@ -112,7 +112,7 @@ discard block |
||
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 |
||
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'] ) ) { |
@@ -72,7 +72,7 @@ |
||
72 | 72 | * |
73 | 73 | * @since 1.9 |
74 | 74 | * |
75 | - * @return ObjectDictionary |
|
75 | + * @return Options |
|
76 | 76 | */ |
77 | 77 | protected function formatAskArgs() { |
78 | 78 |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param DIConcept $concept |
64 | 64 | * |
65 | - * @return ExpData|null |
|
65 | + * @return null|Element |
|
66 | 66 | */ |
67 | 67 | public function getElementFor( DIConcept $concept ) { |
68 | 68 | |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * |
118 | 118 | * @param string &$exact |
119 | 119 | * |
120 | - * @return Element|false |
|
120 | + * @return Element |
|
121 | 121 | */ |
122 | 122 | public function getExpDataFromDescription( Description $description, &$exact ) { |
123 | 123 |
@@ -119,6 +119,7 @@ discard block |
||
119 | 119 | |
120 | 120 | /** |
121 | 121 | * @since 2.4 |
122 | + * @param string $msgKey |
|
122 | 123 | */ |
123 | 124 | protected function getNavigationLinks( $msgKey, array $diWikiPages, $default = 50 ) { |
124 | 125 | global $wgRequest; |
@@ -178,7 +179,7 @@ discard block |
||
178 | 179 | * If the method returns false, nothing will be printed besides |
179 | 180 | * the original article. |
180 | 181 | * |
181 | - * @return true |
|
182 | + * @return boolean |
|
182 | 183 | */ |
183 | 184 | protected function initParameters() { |
184 | 185 | $this->limit = 20; |
@@ -70,7 +70,6 @@ discard block |
||
70 | 70 | * |
71 | 71 | * @since 2.4 |
72 | 72 | * |
73 | - * @param DITime $dataItem |
|
74 | 73 | * @param boolean $mindefault determining whether values below the |
75 | 74 | * precision of our input should be completed with minimal or maximal |
76 | 75 | * conceivable values |
@@ -111,7 +110,6 @@ discard block |
||
111 | 110 | * |
112 | 111 | * @since 2.4 |
113 | 112 | * |
114 | - * @param DITime $dataItem |
|
115 | 113 | * |
116 | 114 | * @return string |
117 | 115 | */ |
@@ -167,7 +165,7 @@ discard block |
||
167 | 165 | * |
168 | 166 | * @since 2.4 |
169 | 167 | * |
170 | - * @param DITime $dataitem |
|
168 | + * @param DITime $dataItem |
|
171 | 169 | * |
172 | 170 | * @return string |
173 | 171 | */ |
@@ -350,6 +348,9 @@ discard block |
||
350 | 348 | return $this->getCaptionFromDataItem( $dataItem ); |
351 | 349 | } |
352 | 350 | |
351 | + /** |
|
352 | + * @param DITime $dataItem |
|
353 | + */ |
|
353 | 354 | private function hintCalendarModel( $dataItem ) { |
354 | 355 | |
355 | 356 | if ( $this->dataValue->isEnabledFeature( SMW_DV_TIMEV_CM ) && $dataItem->getCalendarModel() !== DITime::CM_GREGORIAN ) { |
@@ -226,6 +226,9 @@ |
||
226 | 226 | ); |
227 | 227 | } |
228 | 228 | |
229 | + /** |
|
230 | + * @param boolean $asPrefix |
|
231 | + */ |
|
229 | 232 | private function matchUnitAliases( $number, $asPrefix, array $unitAliases ) { |
230 | 233 | $first = true; |
231 | 234 |
@@ -75,6 +75,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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( |
@@ -168,7 +168,6 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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(); |