@@ -15,9 +15,9 @@ |
||
| 15 | 15 | use Slick\Orm\Descriptor\EntityDescriptorInterface; |
| 16 | 16 | use Slick\Orm\Descriptor\EntityDescriptorRegistry; |
| 17 | 17 | use Slick\Orm\Descriptor\Field\FieldDescriptor; |
| 18 | -use Slick\Orm\Entity\EntityCollection; |
|
| 19 | 18 | use Slick\Orm\EntityInterface; |
| 20 | 19 | use Slick\Orm\EntityMapperInterface; |
| 20 | +use Slick\Orm\Entity\EntityCollection; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Generic Entity Mapper |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | * |
| 79 | 79 | * @param EntityInterface $entity |
| 80 | 80 | * |
| 81 | - * @return self|$this|EntityInterface |
|
| 81 | + * @return EntityMapper |
|
| 82 | 82 | */ |
| 83 | 83 | public function delete(EntityInterface $entity) |
| 84 | 84 | { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | use Slick\Database\Sql; |
| 13 | 13 | use Slick\Orm\EntityInterface; |
| 14 | -use Slick\Orm\EntityMapperInterface; |
|
| 15 | 14 | use Slick\Orm\RepositoryInterface; |
| 16 | 15 | |
| 17 | 16 | /** |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * an optional third parameter specifying the priority as an integer. You |
| 140 | 140 | * may use one of EmitterInterface predefined constants here if you want. |
| 141 | 141 | * |
| 142 | - * @param string|EntityInterface $entityClass |
|
| 142 | + * @param Entity $entityClass |
|
| 143 | 143 | * @param string $event |
| 144 | 144 | * @param ListenerInterface|callable $listener |
| 145 | 145 | * @param int $priority |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | * |
| 314 | 314 | * @param string $entity |
| 315 | 315 | * |
| 316 | - * @return EntityDescriptor|string |
|
| 316 | + * @return string |
|
| 317 | 317 | */ |
| 318 | 318 | private function getAdapterAlias($entity) |
| 319 | 319 | { |