@@ -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 | { |
@@ -101,7 +101,7 @@ |
||
101 | 101 | /** |
102 | 102 | * @param int $id |
103 | 103 | * |
104 | - * @return mixed LizardMedia\ProductAttachment\Api\Data\AttachmentInterface | void |
|
104 | + * @return AttachmentInterface|null LizardMedia\ProductAttachment\Api\Data\AttachmentInterface | void |
|
105 | 105 | */ |
106 | 106 | private function loadAttachmentById(int $id) : ?AttachmentInterface |
107 | 107 | { |
@@ -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 |