@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @param string|\MongoId $id Primary key value. |
93 | 93 | * |
94 | - * @return CompositableInterface|DocumentEntity|null |
|
94 | + * @return CompositableInterface|null |
|
95 | 95 | */ |
96 | 96 | public function findByPK($id) |
97 | 97 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * @param array $query Fields and conditions to query by. |
105 | 105 | * @param array $sortBy Always specify sort by to ensure that results are stable. |
106 | 106 | * |
107 | - * @return CompositableInterface|DocumentEntity|null |
|
107 | + * @return CompositableInterface|null |
|
108 | 108 | */ |
109 | 109 | public function findOne(array $query = [], array $sortBy = []) |
110 | 110 | { |
@@ -134,7 +134,7 @@ |
||
134 | 134 | * @param string $class |
135 | 135 | * @param int $property See ODM constants. |
136 | 136 | * |
137 | - * @return mixed |
|
137 | + * @return string|null |
|
138 | 138 | * |
139 | 139 | * @throws ODMException |
140 | 140 | */ |