@@ -931,7 +931,6 @@ discard block |
||
| 931 | 931 | * @param string $related |
| 932 | 932 | * @param string|null $foreignKey |
| 933 | 933 | * @param string|null $otherKey |
| 934 | - * @param string|null $relation |
|
| 935 | 934 | * |
| 936 | 935 | * @throws MappingException |
| 937 | 936 | * |
@@ -1138,11 +1137,10 @@ discard block |
||
| 1138 | 1137 | * Define a many-to-many relationship. |
| 1139 | 1138 | * |
| 1140 | 1139 | * @param mixed $entity |
| 1141 | - * @param string $relatedClass |
|
| 1140 | + * @param string $related |
|
| 1142 | 1141 | * @param string|null $table |
| 1143 | 1142 | * @param string|null $foreignKey |
| 1144 | 1143 | * @param string|null $otherKey |
| 1145 | - * @param string|null $relation |
|
| 1146 | 1144 | * |
| 1147 | 1145 | * @throws MappingException |
| 1148 | 1146 | * |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * Remove the scope from the given Analogue query builder. |
| 35 | 35 | * |
| 36 | - * @param mixed $query |
|
| 36 | + * @param Query $query |
|
| 37 | 37 | * |
| 38 | 38 | * @return void |
| 39 | 39 | */ |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * |
| 10 | 10 | * @param $relation |
| 11 | 11 | * |
| 12 | - * @return mixed |
|
| 12 | + * @return \Analogue\ORM\EntityCollection |
|
| 13 | 13 | */ |
| 14 | 14 | public function getResults($relation) |
| 15 | 15 | { |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | /** |
| 24 | 24 | * Match the eagerly loaded results to their parents. |
| 25 | 25 | * |
| 26 | - * @param array $$results |
|
| 26 | + * @param array $results |
|
| 27 | 27 | * @param string $relation |
| 28 | 28 | * |
| 29 | 29 | * @return array |
@@ -291,7 +291,6 @@ |
||
| 291 | 291 | * Run synchronization content if needed by the |
| 292 | 292 | * relation type. |
| 293 | 293 | * |
| 294 | - * @param array $actualContent |
|
| 295 | 294 | * |
| 296 | 295 | * @return void |
| 297 | 296 | */ |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | * Create a mapper for a given entity. |
| 144 | 144 | * |
| 145 | 145 | * @param \Analogue\ORM\Mappable|string|array|\Traversable $entity |
| 146 | - * @param mixed $entityMap |
|
| 146 | + * @param null|EntityMap $entityMap |
|
| 147 | 147 | * |
| 148 | 148 | * @throws MappingException |
| 149 | 149 | * @throws \InvalidArgumentException |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | /** |
| 252 | 252 | * Check if the entity is already registered. |
| 253 | 253 | * |
| 254 | - * @param string|Entity $entity |
|
| 254 | + * @param string $entity |
|
| 255 | 255 | * |
| 256 | 256 | * @return bool |
| 257 | 257 | */ |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | /** |
| 334 | 334 | * Register an entity. |
| 335 | 335 | * |
| 336 | - * @param string|\Analogue\ORM\Mappable $entity entity's class name |
|
| 336 | + * @param string $entity entity's class name |
|
| 337 | 337 | * @param string|EntityMap $entityMap map's class name |
| 338 | 338 | * |
| 339 | 339 | * @throws MappingException |
@@ -38,7 +38,6 @@ |
||
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @param Mapper $defaultMapper |
| 41 | - * @param array $eagerLoads |
|
| 42 | 41 | */ |
| 43 | 42 | public function __construct(Mapper $defaultMapper) |
| 44 | 43 | { |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | /** |
| 84 | 84 | * Remove the scope from the given Analogue query builder. |
| 85 | 85 | * |
| 86 | - * @param mixed $query |
|
| 86 | + * @param Query $query |
|
| 87 | 87 | * |
| 88 | 88 | * @return void |
| 89 | 89 | */ |
@@ -35,7 +35,6 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * Object Wrapper constructor. |
| 37 | 37 | * |
| 38 | - * @param mixed $object |
|
| 39 | 38 | * @param Analogue\ORM\EntityMap $entityMap |
| 40 | 39 | * |
| 41 | 40 | * @return void |