@@ -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 ) { |
@@ -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 ) { |