@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * @param array $data |
| 10 | 10 | * @param string $entityClass |
| 11 | 11 | * @param string $mapperClass |
| 12 | - * @return Collection|mixed |
|
| 12 | + * @return Collection |
|
| 13 | 13 | */ |
| 14 | 14 | protected function create(Collection $collection, array $data, string $entityClass, string $mapperClass) |
| 15 | 15 | { |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * @param array $data |
| 26 | 26 | * @param string $entityClass |
| 27 | 27 | * @param string $mapperClass |
| 28 | - * @return Collection|mixed |
|
| 28 | + * @return Collection |
|
| 29 | 29 | */ |
| 30 | 30 | protected function replace(Collection $collection, array $data, string $entityClass, string $mapperClass) |
| 31 | 31 | { |
@@ -36,6 +36,9 @@ |
||
| 36 | 36 | $this->attributes = clone $this->attributes; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @return string |
|
| 41 | + */ |
|
| 39 | 42 | public function getId(): ? string |
| 40 | 43 | { |
| 41 | 44 | return $this->id; |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use JsonSerializable; |
| 7 | 7 | use Waredesk\Collections\Inventory\Items\Activities; |
| 8 | 8 | use Waredesk\Collections\Inventory\Items\Attributes; |
| 9 | -use Waredesk\Collections\Inventory\Items\Codes; |
|
| 10 | 9 | use Waredesk\Entity; |
| 11 | 10 | use Waredesk\ReplaceableEntity; |
| 12 | 11 | |