@@ -107,7 +107,7 @@ |
||
107 | 107 | /** |
108 | 108 | * @param int $id |
109 | 109 | * |
110 | - * @return mixed \LizardMedia\ProductAttachment\Api\Data\AttachmentInterface | null |
|
110 | + * @return AttachmentInterface|null \LizardMedia\ProductAttachment\Api\Data\AttachmentInterface | null |
|
111 | 111 | */ |
112 | 112 | private function loadAttachmentById(int $id) : ?AttachmentInterface |
113 | 113 | { |
@@ -76,7 +76,7 @@ |
||
76 | 76 | |
77 | 77 | |
78 | 78 | /** |
79 | - * @return array |
|
79 | + * @return string[] |
|
80 | 80 | */ |
81 | 81 | public function getIdentities() |
82 | 82 | { |
@@ -197,7 +197,7 @@ |
||
197 | 197 | |
198 | 198 | |
199 | 199 | /** |
200 | - * @param \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection $collection |
|
200 | + * @param \LizardMedia\ProductAttachment\Model\ResourceModel\Attachment\Collection $collection |
|
201 | 201 | * @param string $foreignKeyName |
202 | 202 | * @param string $entityTypeCode |
203 | 203 | * @param mixed string | array $attributes |
@@ -19,7 +19,6 @@ |
||
19 | 19 | use LizardMedia\ProductAttachment\Model\Attachment\ContentValidator; |
20 | 20 | use LizardMedia\ProductAttachment\Model\AttachmentRepository\SearchResultProcessor; |
21 | 21 | use LizardMedia\ProductAttachment\Model\Product\TypeHandler\Attachment as AttachmentHandler; |
22 | -use LizardMedia\ProductAttachment\Model\ResourceModel\Attachment\Collection; |
|
23 | 22 | use LizardMedia\ProductAttachment\Model\ResourceModel\Attachment\Collection as AttachmentCollection; |
24 | 23 | use LizardMedia\ProductAttachment\Model\ResourceModel\Attachment\CollectionFactory as AttachmentCollectionFactory; |
25 | 24 | use Magento\Catalog\Api\Data\ProductInterface; |