@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | * represent. Returns null if this attempt failed. |
404 | 404 | * |
405 | 405 | * @param ExpElement $expElement |
406 | - * @return SMWDataItem or null |
|
406 | + * @return null|DIWikiPage or null |
|
407 | 407 | */ |
408 | 408 | public function findDataItemForExpElement( ExpElement $expElement ) { |
409 | 409 | return self::$dataItemByExpElementMatchFinder->tryToFindDataItemForExpElement( $expElement ); |
@@ -440,7 +440,7 @@ discard block |
||
440 | 440 | * must take the type of the annotated object into account for some |
441 | 441 | * reason. |
442 | 442 | * |
443 | - * @param $propertyKey string the Id of the special property |
|
443 | + * @param string $propertyKey string the Id of the special property |
|
444 | 444 | * @param $forNamespace integer the namespace of the page which has a value for this property |
445 | 445 | * @return ExpNsResource|null |
446 | 446 | */ |
@@ -620,7 +620,7 @@ discard block |
||
620 | 620 | * elements are always preferred in query answering. |
621 | 621 | * |
622 | 622 | * @param $dataItem SMWDataItem |
623 | - * @return ExpElement|null |
|
623 | + * @return ExpLiteral|null |
|
624 | 624 | */ |
625 | 625 | static public function getDataItemHelperExpElement( SMWDataItem $dataItem ) { |
626 | 626 |