@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * Create a mapper for a given entity |
118 | 118 | * |
119 | 119 | * @param \Analogue\ORM\Mappable|string|array|\Traversable $entity |
120 | - * @param mixed $entityMap |
|
120 | + * @param null|EntityMap $entityMap |
|
121 | 121 | * @throws MappingException |
122 | 122 | * @throws \InvalidArgumentException |
123 | 123 | * @return Mapper |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /** |
216 | 216 | * Check if the entity is already registered |
217 | 217 | * |
218 | - * @param string|object $entity |
|
218 | + * @param string $entity |
|
219 | 219 | * @return boolean |
220 | 220 | */ |
221 | 221 | public function isRegisteredEntity($entity) |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | /** |
231 | 231 | * Register an entity |
232 | 232 | * |
233 | - * @param string|\Analogue\ORM\Mappable $entity entity's class name |
|
233 | + * @param string $entity entity's class name |
|
234 | 234 | * @param string|EntityMap $entityMap map's class name |
235 | 235 | * @throws MappingException |
236 | 236 | * @return void |