@@ -125,6 +125,7 @@ discard block |
||
125 | 125 | * |
126 | 126 | * @since 1.9 |
127 | 127 | * |
128 | + * @param string $type |
|
128 | 129 | * @return MessageFormatter |
129 | 130 | */ |
130 | 131 | public function setType( $type ) { |
@@ -225,7 +226,6 @@ discard block |
||
225 | 226 | * |
226 | 227 | * @since 1.9 |
227 | 228 | * |
228 | - * @param boolean $escape |
|
229 | 229 | * @param boolean $html |
230 | 230 | * |
231 | 231 | * @return string |
@@ -136,7 +136,7 @@ |
||
136 | 136 | * @param IParamDefinition[] $definitions |
137 | 137 | * @param IParam[] $params |
138 | 138 | * |
139 | - * @return mixed |
|
139 | + * @return string |
|
140 | 140 | */ |
141 | 141 | protected function formatValue( $value, IParam $param, array &$definitions, array $params ) { |
142 | 142 | $value = parent::formatValue( $value, $param, $definitions, $params ); |
@@ -107,7 +107,7 @@ |
||
107 | 107 | /** |
108 | 108 | * Get the list of results. |
109 | 109 | * |
110 | - * @param SMWRequestOptions $requestOptions |
|
110 | + * @param SMWRequestOptions $requestoptions |
|
111 | 111 | * @return array of SMWDIProperty|SMWDIError |
112 | 112 | */ |
113 | 113 | function getResults( $requestoptions ) { |
@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | * |
394 | 394 | * @since 1.9 |
395 | 395 | * |
396 | - * @param $row |
|
396 | + * @param SMWResultArray[] $row |
|
397 | 397 | * |
398 | 398 | * @return string |
399 | 399 | */ |
@@ -422,6 +422,9 @@ discard block |
||
422 | 422 | $this->templateRenderer->addField( '#', $this->numRows ); |
423 | 423 | } |
424 | 424 | |
425 | + /** |
|
426 | + * @param SMWQueryResult $queryResult |
|
427 | + */ |
|
425 | 428 | protected function addCommonTemplateFields( $queryResult ) { |
426 | 429 | |
427 | 430 | if ( $this->mUserParam ) { |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | * |
189 | 189 | * @param $results SMWQueryResult |
190 | 190 | * @param $fullParams array |
191 | - * @param $outputMode integer |
|
191 | + * @param integer $outputMode integer |
|
192 | 192 | * |
193 | 193 | * @return string |
194 | 194 | */ |
@@ -465,7 +465,7 @@ discard block |
||
465 | 465 | /** |
466 | 466 | * @see SMWIResultPrinter::getQueryMode |
467 | 467 | * |
468 | - * @param $context |
|
468 | + * @param integer $context |
|
469 | 469 | * |
470 | 470 | * @return integer |
471 | 471 | */ |
@@ -607,7 +607,7 @@ discard block |
||
607 | 607 | * |
608 | 608 | * @param ParamDefinition[] $definitions |
609 | 609 | * |
610 | - * @return array |
|
610 | + * @return \ParamProcessor\IParamDefinition[] |
|
611 | 611 | */ |
612 | 612 | public function getParamDefinitions( array $definitions ) { |
613 | 613 | return array_merge( $definitions, $this->getParameters() ); |
@@ -65,7 +65,6 @@ discard block |
||
65 | 65 | * recorded multiple times in SMWOutputs. |
66 | 66 | * |
67 | 67 | * @param string $id |
68 | - * @param string $item |
|
69 | 68 | */ |
70 | 69 | public static function requireScript( $id, $script ) { |
71 | 70 | self::$scripts[$id] = $script; |
@@ -81,7 +80,7 @@ discard block |
||
81 | 80 | * Support for calling this with the old constants SMW_HEADER_STYLE |
82 | 81 | * and SMW_HEADER_TOOLTIP will vanish in SMW 1.7 at the latest. |
83 | 82 | * |
84 | - * @param mixed $id |
|
83 | + * @param string $id |
|
85 | 84 | * @param string $item |
86 | 85 | */ |
87 | 86 | public static function requireHeadItem( $id, $item = '' ) { |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * |
76 | 76 | * @since 2.3 |
77 | 77 | * |
78 | - * @return array |
|
78 | + * @return string[] |
|
79 | 79 | */ |
80 | 80 | public function __sleep() { |
81 | 81 | return array( 'mSubject', 'mPropVals', 'mProperties', 'subSemanticData', 'mStubPropVals' ); |
@@ -203,6 +203,7 @@ discard block |
||
203 | 203 | * yet to ensure data consistency |
204 | 204 | * |
205 | 205 | * @since 2.0 |
206 | + * @param string $subobjectName |
|
206 | 207 | */ |
207 | 208 | public function hasSubSemanticData( $subobjectName = null ) { |
208 | 209 |
@@ -93,6 +93,9 @@ |
||
93 | 93 | } |
94 | 94 | } |
95 | 95 | |
96 | + /** |
|
97 | + * @param integer $propertyIndex |
|
98 | + */ |
|
96 | 99 | private function getDescriptionForProperty( $diProperty, $values, &$valueIndex, $propertyIndex ) { |
97 | 100 | |
98 | 101 | $values[$valueIndex] = str_replace( "-3B", ";", $values[$valueIndex] ); |
@@ -91,6 +91,9 @@ |
||
91 | 91 | return $description; |
92 | 92 | } |
93 | 93 | |
94 | + /** |
|
95 | + * @param \SMWDataItem $dataItem |
|
96 | + */ |
|
94 | 97 | private function getUpperLimit( $dataItem ) { |
95 | 98 | |
96 | 99 | $prec = $dataItem->getPrecision(); |