@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * The third argument was added in SMW 1.9 and should not be used from outside SMW. |
158 | 158 | * |
159 | 159 | * @param string $value |
160 | - * @param mixed $caption |
|
160 | + * @param boolean $caption |
|
161 | 161 | * @param boolean $approximateValue |
162 | 162 | */ |
163 | 163 | public function setUserValue( $value, $caption = false, $approximateValue = false ) { |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | * |
230 | 230 | * @since 1.8 |
231 | 231 | * |
232 | - * @return SMWDIProperty|null |
|
232 | + * @return SMWDIProperty |
|
233 | 233 | */ |
234 | 234 | public function getProperty() { |
235 | 235 | return $this->m_property; |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | /** |
257 | 257 | * @since 2.4 |
258 | 258 | * |
259 | - * @return DIWikiPage|null |
|
259 | + * @return SMWDIWikiPage |
|
260 | 260 | */ |
261 | 261 | public function getContextPage() { |
262 | 262 | return $this->m_contextPage; |
@@ -293,7 +293,7 @@ discard block |
||
293 | 293 | * |
294 | 294 | * @param string $key |
295 | 295 | * |
296 | - * @return mixed|false |
|
296 | + * @return string|false |
|
297 | 297 | */ |
298 | 298 | public function getOptionValueFor( $key ) { |
299 | 299 | |
@@ -328,7 +328,6 @@ discard block |
||
328 | 328 | /** |
329 | 329 | * @since 2.4 |
330 | 330 | * |
331 | - * @param string $caption |
|
332 | 331 | */ |
333 | 332 | public function getCaption() { |
334 | 333 | return $this->m_caption; |
@@ -466,7 +465,7 @@ discard block |
||
466 | 465 | * |
467 | 466 | * @param string $value |
468 | 467 | * |
469 | - * @return Description |
|
468 | + * @return SMW\Query\Language\Description |
|
470 | 469 | * @throws InvalidArgumentException |
471 | 470 | */ |
472 | 471 | public function getQueryDescription( $value ) { |
@@ -487,7 +486,7 @@ discard block |
||
487 | 486 | * |
488 | 487 | * @since 2.4 |
489 | 488 | * |
490 | - * @return DataValueFormatter |
|
489 | + * @return SMW\DataValues\ValueFormatters\DataValueFormatter |
|
491 | 490 | */ |
492 | 491 | public function getDataValueFormatter() { |
493 | 492 | return ValueFormatterRegistry::getInstance()->getDataValueFormatterFor( $this ); |
@@ -496,7 +495,7 @@ discard block |
||
496 | 495 | /** |
497 | 496 | * @since 2.4 |
498 | 497 | * |
499 | - * @return PropertySpecificationLookup |
|
498 | + * @return SMW\PropertySpecificationLookup |
|
500 | 499 | */ |
501 | 500 | public function getPropertySpecificationLookup() { |
502 | 501 | return ApplicationFactory::getInstance()->getPropertySpecificationLookup(); |
@@ -580,6 +579,7 @@ discard block |
||
580 | 579 | * |
581 | 580 | * The parameter $linked controls linking of values such as titles and should |
582 | 581 | * be non-NULL and non-false if this is desired. |
582 | + * @return string |
|
583 | 583 | */ |
584 | 584 | abstract public function getLongWikiText( $linked = null ); |
585 | 585 |