From 9e942f34fb02be6243ae05a60a650897b088174e Mon Sep 17 00:00:00 2001 From: Raimondas Date: Tue, 1 Oct 2019 11:41:36 +0300 Subject: [PATCH] Minor CS fixes --- .../Attachment/CommandHandler/AbstractAttachmentHandler.php | 1 + src/Adapter/Attachment/CommandHandler/EditAttachmentHandler.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Adapter/Attachment/CommandHandler/AbstractAttachmentHandler.php b/src/Adapter/Attachment/CommandHandler/AbstractAttachmentHandler.php index c5780ab38b593..a16a045ba9a32 100644 --- a/src/Adapter/Attachment/CommandHandler/AbstractAttachmentHandler.php +++ b/src/Adapter/Attachment/CommandHandler/AbstractAttachmentHandler.php @@ -102,6 +102,7 @@ protected function getUniqueFileName(): string /** * @param Attachment $attachment + * * @throws AttachmentConstraintException * @throws PrestaShopException */ diff --git a/src/Adapter/Attachment/CommandHandler/EditAttachmentHandler.php b/src/Adapter/Attachment/CommandHandler/EditAttachmentHandler.php index b6ed37bef12ed..22c48f7c79f56 100644 --- a/src/Adapter/Attachment/CommandHandler/EditAttachmentHandler.php +++ b/src/Adapter/Attachment/CommandHandler/EditAttachmentHandler.php @@ -35,7 +35,6 @@ use PrestaShop\PrestaShop\Core\Domain\Attachment\Exception\AttachmentException; use PrestaShop\PrestaShop\Core\Domain\Attachment\Exception\AttachmentNotFoundException; use PrestaShop\PrestaShop\Core\Domain\Attachment\Exception\CannotUpdateAttachmentException; -use PrestaShop\PrestaShop\Core\Exception\FileNotFoundException; use PrestaShopException; use Symfony\Component\Validator\Validator\ValidatorInterface;