@@ -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 ) { |
@@ -122,7 +122,7 @@ |
||
122 | 122 | * @param Item|Property $entity |
123 | 123 | * |
124 | 124 | * @throws RuntimeException |
125 | - * @return ItemContent|PropertyContent |
|
125 | + * @return \Mediawiki\DataModel\Content |
|
126 | 126 | * @todo this could be factored into a different class? |
127 | 127 | */ |
128 | 128 | private function getContentFromEntity( $entity ) { |