@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @since 0.1 |
46 | - * @param string|EntityId $id |
|
46 | + * @param EntityId $id |
|
47 | 47 | * @returns Revision |
48 | 48 | */ |
49 | 49 | public function getFromId( $id ) { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * @param Item|Property $entity |
106 | 106 | * |
107 | 107 | * @throws RuntimeException |
108 | - * @return ItemContent|PropertyContent |
|
108 | + * @return \Mediawiki\DataModel\Content |
|
109 | 109 | * @todo this could be factored into a different class? |
110 | 110 | */ |
111 | 111 | private function getContentFromEntity( $entity ) { |
@@ -103,7 +103,7 @@ |
||
103 | 103 | * @param Item|Property $entity |
104 | 104 | * |
105 | 105 | * @throws RuntimeException |
106 | - * @return ItemContent|PropertyContent |
|
106 | + * @return \Mediawiki\DataModel\Content |
|
107 | 107 | * @todo this could be factored into a different class? |
108 | 108 | */ |
109 | 109 | private function getContentFromEntity( $entity ) { |