@@ -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 | { |