@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * @note All strings given must be usable and safe in wiki and HTML |
22 | 22 | * contexts. |
23 | 23 | * |
24 | - * @param $storeName string name of the storage backend for which this is generated |
|
24 | + * @param string $storeName string name of the storage backend for which this is generated |
|
25 | 25 | * @param $entries array of name => value of informative entries to display |
26 | 26 | * @param $query SMWQuery or null, if given add basic data about this query as well |
27 | 27 | * |
@@ -72,7 +72,6 @@ discard block |
||
72 | 72 | * @since 2.5 |
73 | 73 | * |
74 | 74 | * @param string $type |
75 | - * @param array $rows |
|
76 | 75 | * |
77 | 76 | * @return string |
78 | 77 | */ |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * the provided name is not allowed. An object is returned |
83 | 83 | * in any case. |
84 | 84 | * |
85 | - * @param string $propertyName |
|
85 | + * @param string $propertyLabel |
|
86 | 86 | * |
87 | 87 | * @return SMWPropertyValue |
88 | 88 | */ |
@@ -247,6 +247,9 @@ discard block |
||
247 | 247 | } |
248 | 248 | } |
249 | 249 | |
250 | + /** |
|
251 | + * @param boolean $isinverse |
|
252 | + */ |
|
250 | 253 | public function setInverse( $isinverse ) { |
251 | 254 | return $this->m_dataitem = new DIProperty( $this->m_dataitem->getKey(), ( $isinverse == true ) ); |
252 | 255 | } |
@@ -448,6 +451,9 @@ discard block |
||
448 | 451 | return $this->m_dataitem->getLabel(); |
449 | 452 | } |
450 | 453 | |
454 | + /** |
|
455 | + * @param string $value |
|
456 | + */ |
|
451 | 457 | private function doNormalizeUserValue( $value ) { |
452 | 458 | |
453 | 459 | if ( |
@@ -4,8 +4,6 @@ |
||
4 | 4 | use SMW\DataValues\ValueFormatters\DataValueFormatter; |
5 | 5 | use SMW\DataValueFactory; |
6 | 6 | use SMW\DIProperty; |
7 | -use SMW\Highlighter; |
|
8 | -use SMW\Message; |
|
9 | 7 | |
10 | 8 | /** |
11 | 9 | * Objects of this class represent properties in SMW. |
@@ -128,6 +128,9 @@ |
||
128 | 128 | return $highlighter->getHtml(); |
129 | 129 | } |
130 | 130 | |
131 | + /** |
|
132 | + * @param string $propertyDescription |
|
133 | + */ |
|
131 | 134 | private function canHighlight( &$propertyDescription, $linker ) { |
132 | 135 | |
133 | 136 | if ( $this->dataValue->getOptionBy( PropertyValue::OPT_NO_HIGHLIGHT ) === true ) { |
@@ -301,6 +301,9 @@ discard block |
||
301 | 301 | return true; |
302 | 302 | } |
303 | 303 | |
304 | + /** |
|
305 | + * @param double $byIdDataRebuildDispatcher |
|
306 | + */ |
|
304 | 307 | private function doExecuteFor( $byIdDataRebuildDispatcher, &$id ) { |
305 | 308 | |
306 | 309 | if ( !$this->options->has( 'ignore-exceptions' ) ) { |
@@ -406,6 +409,9 @@ discard block |
||
406 | 409 | $this->reportMessage( "\n\n{$matchesCount} IDs removed.\n\n" ); |
407 | 410 | } |
408 | 411 | |
412 | + /** |
|
413 | + * @param string $startIdFile |
|
414 | + */ |
|
409 | 415 | private function idFileIsWritable( $startIdFile ) { |
410 | 416 | |
411 | 417 | if ( !is_writable( file_exists( $startIdFile ) ? $startIdFile : dirname( $startIdFile ) ) ) { |
@@ -422,7 +428,7 @@ discard block |
||
422 | 428 | } |
423 | 429 | |
424 | 430 | /** |
425 | - * @param array $options |
|
431 | + * @param Options $options |
|
426 | 432 | */ |
427 | 433 | private function setFiltersFromOptions( Options $options ) { |
428 | 434 | $this->filters = array(); |
@@ -442,6 +448,10 @@ discard block |
||
442 | 448 | } |
443 | 449 | } |
444 | 450 | |
451 | + /** |
|
452 | + * @param boolean $verbose |
|
453 | + * @param string $progress |
|
454 | + */ |
|
445 | 455 | private function doPrintDotProgressIndicator( $verbose, $counter, $progress ) { |
446 | 456 | |
447 | 457 | if ( ( $counter - 1 ) % 60 === 0 ) { |