@@ -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) |
@@ -313,7 +313,6 @@ |
||
| 313 | 313 | * Run synchronization content if needed by the |
| 314 | 314 | * relation type. |
| 315 | 315 | * |
| 316 | - * @param array $actualContent |
|
| 317 | 316 | * @return void |
| 318 | 317 | */ |
| 319 | 318 | public function sync(array $entities) |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Return a new Query instance for this driver |
| 29 | 29 | * |
| 30 | - * @return QueryAdapter |
|
| 30 | + * @return IlluminateQueryBuilder |
|
| 31 | 31 | */ |
| 32 | 32 | public function getQuery() |
| 33 | 33 | { |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | * Create a mapper for a given entity |
| 142 | 142 | * |
| 143 | 143 | * @param \Analogue\ORM\Mappable|string|array|\Traversable $entity |
| 144 | - * @param mixed $entityMap |
|
| 144 | + * @param null|EntityMap $entityMap |
|
| 145 | 145 | * @throws MappingException |
| 146 | 146 | * @throws \InvalidArgumentException |
| 147 | 147 | * @return Mapper |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | /** |
| 244 | 244 | * Check if the entity is already registered |
| 245 | 245 | * |
| 246 | - * @param string|Entity $entity |
|
| 246 | + * @param string $entity |
|
| 247 | 247 | * @return boolean |
| 248 | 248 | */ |
| 249 | 249 | public function isRegisteredEntity($entity) |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | /** |
| 313 | 313 | * Register an entity |
| 314 | 314 | * |
| 315 | - * @param string|\Analogue\ORM\Mappable $entity entity's class name |
|
| 315 | + * @param string $entity entity's class name |
|
| 316 | 316 | * @param string|EntityMap $entityMap map's class name |
| 317 | 317 | * @throws MappingException |
| 318 | 318 | * @return void |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | /** |
| 79 | 79 | * Push an item onto the end of the collection. |
| 80 | 80 | * |
| 81 | - * @param mixed $value |
|
| 81 | + * @param Mappable $value |
|
| 82 | 82 | * @return void |
| 83 | 83 | */ |
| 84 | 84 | public function push($value) |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Return all records for a mapped object |
| 111 | 111 | * |
| 112 | - * @return EntityCollection |
|
| 112 | + * @return \Analogue\ORM\EntityCollection |
|
| 113 | 113 | */ |
| 114 | 114 | public function all() |
| 115 | 115 | { |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | /** |
| 203 | 203 | * Get a the Underlying QueryAdapter. |
| 204 | 204 | * |
| 205 | - * @return \Analogue\ORM\Drivers\QueryAdapter |
|
| 205 | + * @return \Illuminate\Database\Query\Builder |
|
| 206 | 206 | */ |
| 207 | 207 | public function newQueryBuilder() |
| 208 | 208 | { |
@@ -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) |