From 4b95a1192ea208306f26e9ac31b847dca44c8cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Pihlstr=C3=B6m?= Date: Fri, 27 Oct 2017 14:33:43 +0200 Subject: [PATCH] style --- .../Plugin/Eav/Model/AttributeSetRepository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/CatalogUrlRewrite/Plugin/Eav/Model/AttributeSetRepository.php b/app/code/Magento/CatalogUrlRewrite/Plugin/Eav/Model/AttributeSetRepository.php index 4dc0c928c6993..a9c18201dc501 100644 --- a/app/code/Magento/CatalogUrlRewrite/Plugin/Eav/Model/AttributeSetRepository.php +++ b/app/code/Magento/CatalogUrlRewrite/Plugin/Eav/Model/AttributeSetRepository.php @@ -41,14 +41,14 @@ public function __construct(UrlPersistInterface $urlPersist, Collection $product * @param \Magento\Eav\Model\AttributeSetRepository $subject * @param callable $proceed * @param AttributeSetInterface $attributeSet + * @return bool */ public function aroundDelete( \Magento\Eav\Model\AttributeSetRepository $subject, callable $proceed, AttributeSetInterface $attributeSet ) { - if (!isset($subject) || !$attributeSet->getAttributeSetId()) - { + if (!isset($subject) || !$attributeSet->getAttributeSetId()) { return false; }