@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * |
106 | 106 | * @param string|\MongoId $id Primary key value. |
107 | 107 | * |
108 | - * @return CompositableInterface|Document|null |
|
108 | + * @return CompositableInterface|null |
|
109 | 109 | */ |
110 | 110 | public function findByPK($id) |
111 | 111 | { |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * @param array $query Fields and conditions to query by. |
119 | 119 | * @param array $sortBy Always specify sort by to ensure that results are stable. |
120 | 120 | * |
121 | - * @return CompositableInterface|Document|null |
|
121 | + * @return CompositableInterface|null |
|
122 | 122 | */ |
123 | 123 | public function findOne(array $query = [], array $sortBy = []) |
124 | 124 | { |