@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | * @param $expResourceProperty SMWExpNsResource the property to use |
| 196 | 196 | * @param $expResource SMWExpResource the data value to use |
| 197 | 197 | * @param $indent string specifying a prefix for indentation (usually a sequence of tabs) |
| 198 | - * @param $isClassTypeProp boolean whether the resource must be declared as a class |
|
| 198 | + * @param boolean $isClassTypeProp boolean whether the resource must be declared as a class |
|
| 199 | 199 | */ |
| 200 | 200 | protected function serializeExpResource( SMWExpNsResource $expResourceProperty, SMWExpResource $expResource, $indent, $isClassTypeProp ) { |
| 201 | 201 | $this->post_ns_buffer .= $indent . '<' . $expResourceProperty->getQName(); |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | * @param $expResourceProperty SMWExpNsResource the property to use |
| 222 | 222 | * @param $expResource array of (SMWExpResource or SMWExpData) |
| 223 | 223 | * @param $indent string specifying a prefix for indentation (usually a sequence of tabs) |
| 224 | - * @param $isClassTypeProp boolean whether the resource must be declared as a class |
|
| 224 | + * @param boolean $isClassTypeProp boolean whether the resource must be declared as a class |
|
| 225 | 225 | * |
| 226 | 226 | * @bug The $isClassTypeProp parameter is not properly taken into account. |
| 227 | 227 | * @bug Individual resources are not serialised properly. |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | * DTD entity declarations in XML. Namely, this require the percent sign |
| 249 | 249 | * to be replaced. |
| 250 | 250 | * |
| 251 | - * @param $string string to be escaped |
|
| 251 | + * @param string $string string to be escaped |
|
| 252 | 252 | * @return string |
| 253 | 253 | */ |
| 254 | 254 | protected function makeValueEntityString( $string ) { |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | * increased indentation. |
| 141 | 141 | * |
| 142 | 142 | * @param $data SMWExpData containing the data to be serialised. |
| 143 | - * @param $indent string specifying a prefix for indentation (usually a sequence of tabs) |
|
| 143 | + * @param string $indent string specifying a prefix for indentation (usually a sequence of tabs) |
|
| 144 | 144 | */ |
| 145 | 145 | protected function serializeNestedExpData( SMWExpData $data, $indent ) { |
| 146 | 146 | if ( count( $data->getProperties() ) == 0 ) { |
@@ -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 |
@@ -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 ) { |
@@ -229,6 +229,10 @@ |
||
| 229 | 229 | return ByLanguageCollationMapper::getInstance()->findFirstLetterForCategory( $sortKey ); |
| 230 | 230 | } |
| 231 | 231 | |
| 232 | + /** |
|
| 233 | + * @param SMWQueryResult $res |
|
| 234 | + * @param boolean $first_col |
|
| 235 | + */ |
|
| 232 | 236 | private function addRowFieldsToTemplate( $res, $row, &$first_col, &$columnIndex, $templateRenderer ) { |
| 233 | 237 | |
| 234 | 238 | // explicitly number parameters for more robust parsing (values may contain "=") |
@@ -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() ); |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * output, then the Semdata container will at least look as if properly |
| 174 | 174 | * initialised (though empty). |
| 175 | 175 | * |
| 176 | - * @return array |
|
| 176 | + * @return string[] |
|
| 177 | 177 | */ |
| 178 | 178 | public function __sleep() { |
| 179 | 179 | return array( 'mSubject', 'mPropVals', 'mProperties', 'subSemanticData', 'mHasVisibleProps', 'mHasVisibleSpecs', 'lastModified' ); |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | * Store a value for a given property identified by its text label |
| 368 | 368 | * (without namespace prefix). |
| 369 | 369 | * |
| 370 | - * @param $propertyName string |
|
| 370 | + * @param string $propertyName string |
|
| 371 | 371 | * @param $dataItem SMWDataItem |
| 372 | 372 | */ |
| 373 | 373 | public function addPropertyValue( $propertyName, SMWDataItem $dataItem ) { |
@@ -592,7 +592,7 @@ discard block |
||
| 592 | 592 | * |
| 593 | 593 | * @since 1.9 |
| 594 | 594 | * |
| 595 | - * @param string $subobjectName|null |
|
| 595 | + * @param string $subobjectName |
|
| 596 | 596 | * |
| 597 | 597 | * @return boolean |
| 598 | 598 | */ |
@@ -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 = '' ) { |