@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Remove the scope from the given Analogue query builder. |
34 | 34 | * |
35 | - * @param mixed $query |
|
35 | + * @param Query $query |
|
36 | 36 | * @return void |
37 | 37 | */ |
38 | 38 | public function remove(Query $query) |
@@ -383,6 +383,7 @@ |
||
383 | 383 | * Set the join clause for the relation query. |
384 | 384 | * |
385 | 385 | * @param \Analogue\ORM\Query|null |
386 | + * @param Query $query |
|
386 | 387 | * @return $this |
387 | 388 | */ |
388 | 389 | protected function setJoin($query = null) |
@@ -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 |