@@ -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 | |
@@ -62,6 +62,9 @@ |
||
| 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(); |
@@ -71,7 +71,6 @@ discard block |
||
| 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 |
||
| 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 ) { |
@@ -89,6 +89,9 @@ discard block |
||
| 89 | 89 | \Hooks::run( 'SMW::SQLStore::AfterDeleteSubjectComplete', array( $this->store, $title ) ); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | + /** |
|
| 93 | + * @param DIWikiPage $subject |
|
| 94 | + */ |
|
| 92 | 95 | private function doDeleteFor( $id, $subject, $subobjects ) { |
| 93 | 96 | |
| 94 | 97 | if ( $subject->getNamespace() === SMW_NS_CONCEPT ) { // make sure to clear caches |
@@ -128,7 +131,6 @@ discard block |
||
| 128 | 131 | * @see SMWStore::doDataUpdate |
| 129 | 132 | * |
| 130 | 133 | * @since 1.8 |
| 131 | - * @param SMWSemanticData $data |
|
| 132 | 134 | */ |
| 133 | 135 | public function doDataUpdate( SMWSemanticData $semanticData ) { |
| 134 | 136 | \Hooks::run( 'SMWSQLStore3::updateDataBefore', array( $this->store, $semanticData ) ); |
@@ -987,6 +989,9 @@ discard block |
||
| 987 | 989 | return ( $new_tid == 0 ) ? $sid : $new_tid; |
| 988 | 990 | } |
| 989 | 991 | |
| 992 | + /** |
|
| 993 | + * @param integer $redirectId |
|
| 994 | + */ |
|
| 990 | 995 | private function addToDeferredUpdate( $oldTitle, $newTitle, $redirectId ) { |
| 991 | 996 | |
| 992 | 997 | $jobFactory = ApplicationFactory::getInstance()->newJobFactory(); |
@@ -99,7 +99,6 @@ |
||
| 99 | 99 | /** |
| 100 | 100 | * @since 2.4 |
| 101 | 101 | * |
| 102 | - * @param array $dependencyList |
|
| 103 | 102 | */ |
| 104 | 103 | public function deleteDependenciesFromList( array $deleteIdList ) { |
| 105 | 104 | |
@@ -259,6 +259,7 @@ discard block |
||
| 259 | 259 | /** |
| 260 | 260 | * @since 2.0 |
| 261 | 261 | * |
| 262 | + * @param string $propertyTypeId |
|
| 262 | 263 | * @return self |
| 263 | 264 | * @throws RuntimeException |
| 264 | 265 | * @throws InvalidArgumentException |
@@ -391,6 +392,7 @@ discard block |
||
| 391 | 392 | |
| 392 | 393 | /** |
| 393 | 394 | * @deprecated since 2.1, use PropertyRegistry::findPropertyIdByLabel |
| 395 | + * @param string $label |
|
| 394 | 396 | */ |
| 395 | 397 | public static function findPropertyID( $label, $useAlias = true ) { |
| 396 | 398 | return PropertyRegistry::getInstance()->findPropertyIdByLabel( $label, $useAlias ); |
@@ -424,6 +426,9 @@ discard block |
||
| 424 | 426 | PropertyRegistry::getInstance()->registerPropertyAlias( $id, $label ); |
| 425 | 427 | } |
| 426 | 428 | |
| 429 | + /** |
|
| 430 | + * @param string $subobjectName |
|
| 431 | + */ |
|
| 427 | 432 | private function newDIWikiPage( $dbkey, $subobjectName ) { |
| 428 | 433 | |
| 429 | 434 | // If an inverse marker is present just omit the marker so a normal |
@@ -322,7 +322,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -123,7 +123,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |
@@ -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 | |