@@ -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; |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use LizardMedia\ProductAttachment\Controller\DownloadProcessor; |
| 17 | 17 | use Magento\Framework\App\Action\Action; |
| 18 | 18 | use Magento\Framework\App\Action\Context; |
| 19 | -use Magento\Framework\Controller\Result\RawFactory; |
|
| 20 | 19 | use Magento\Framework\Controller\Result\Redirect; |
| 21 | 20 | use Magento\Framework\Controller\ResultInterface; |
| 22 | 21 | use Magento\Framework\Exception\FileSystemException; |