Skip to content

Commit 4b95a11

Browse files
style
1 parent 5ff6b67 commit 4b95a11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CatalogUrlRewrite/Plugin/Eav/Model/AttributeSetRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ public function __construct(UrlPersistInterface $urlPersist, Collection $product
4141
* @param \Magento\Eav\Model\AttributeSetRepository $subject
4242
* @param callable $proceed
4343
* @param AttributeSetInterface $attributeSet
44+
* @return bool
4445
*/
4546
public function aroundDelete(
4647
\Magento\Eav\Model\AttributeSetRepository $subject,
4748
callable $proceed,
4849
AttributeSetInterface $attributeSet
4950
) {
50-
if (!isset($subject) || !$attributeSet->getAttributeSetId())
51-
{
51+
if (!isset($subject) || !$attributeSet->getAttributeSetId()) {
5252
return false;
5353
}
5454

0 commit comments

Comments
 (0)