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