| @@ -126,7 +126,7 @@ | ||
| 126 | 126 | /** | 
| 127 | 127 | * Adds an entity by entity id | 
| 128 | 128 | * | 
| 129 | - * @param mixed $entityId | |
| 129 | + * @param integer $entityId | |
| 130 | 130 | * | 
| 131 | 131 | * @throws EntityNotFoundException If the provided id is does not | 
| 132 | 132 | * references an existing entity. | 
| @@ -72,7 +72,7 @@ discard block | ||
| 72 | 72 | * | 
| 73 | 73 | * @param EntityInterface $entity | 
| 74 | 74 | * | 
| 75 | - * @return null|EntityInterface|EntityCollection|EntityInterface[] | |
| 75 | + * @return EntityCollectionInterface | |
| 76 | 76 | */ | 
| 77 | 77 | public function load(EntityInterface $entity) | 
| 78 | 78 |      { | 
| @@ -112,7 +112,7 @@ discard block | ||
| 112 | 112 | * Gets the relation conditions | 
| 113 | 113 | * | 
| 114 | 114 | * @param EntityInterface $entity | 
| 115 | - * @return array | |
| 115 | + * @return string | |
| 116 | 116 | */ | 
| 117 | 117 | protected function getConditions(EntityInterface $entity) | 
| 118 | 118 |      { | 
| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | |
| 12 | 12 | use Slick\Common\Utils\Text; | 
| 13 | 13 | use Slick\Database\Sql; | 
| 14 | +use Slick\Orm\EntityInterface; | |
| 14 | 15 | use Slick\Orm\Entity\EntityCollection; | 
| 15 | 16 | use Slick\Orm\Entity\EntityCollectionInterface; | 
| 16 | -use Slick\Orm\EntityInterface; | |
| 17 | 17 | use Slick\Orm\Event\EntityAdded; | 
| 18 | 18 | use Slick\Orm\Mapper\RelationInterface; | 
| 19 | 19 | |