@@ -193,7 +193,7 @@ |
||
193 | 193 | * |
194 | 194 | * @param string $entity |
195 | 195 | * |
196 | - * @return EntityDescriptor|string |
|
196 | + * @return string |
|
197 | 197 | */ |
198 | 198 | private function getAdapterAlias($entity) |
199 | 199 | { |
@@ -12,10 +12,9 @@ |
||
12 | 12 | use Slick\Database\RecordList; |
13 | 13 | use Slick\Database\Sql; |
14 | 14 | use Slick\Orm\Descriptor\Field\FieldDescriptor; |
15 | -use Slick\Orm\Entity\EntityCollection; |
|
16 | 15 | use Slick\Orm\EntityInterface; |
17 | 16 | use Slick\Orm\EntityMapperInterface; |
18 | -use Slick\Orm\Event\Save; |
|
17 | +use Slick\Orm\Entity\EntityCollection; |
|
19 | 18 | use Slick\Orm\Orm; |
20 | 19 | |
21 | 20 | /** |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | /** |
28 | 28 | * Triggers the before save event |
29 | 29 | * |
30 | - * @param sql/Update|Sql/Insert $query |
|
30 | + * @param \Slick\Database\Sql\SqlInterface $query |
|
31 | 31 | * @param EntityInterface $entity |
32 | 32 | * @param array $data |
33 | 33 | * |
@@ -97,5 +97,8 @@ discard block |
||
97 | 97 | ->emit($event); |
98 | 98 | } |
99 | 99 | |
100 | + /** |
|
101 | + * @return string |
|
102 | + */ |
|
100 | 103 | abstract public function getEntityClassName(); |
101 | 104 | } |
102 | 105 | \ No newline at end of file |