Skip to content

Commit ac5ef07

Browse files
committed
Cleaner way to handle ignoring the PHPCS warning
1 parent ab2be56 commit ac5ef07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Cms/Block/BlockByIdentifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function getIdentities(): array
161161
if ($cmsBlock instanceof IdentityInterface) {
162162
$identities = array_merge($identities, $cmsBlock->getIdentities());
163163
}
164-
// phpcs:disable Magento2.CodeAnalysis.EmptyBlock.DetectedCatch
164+
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock.DetectedCatch
165165
} catch (NoSuchEntityException $e) {
166166
}
167167

0 commit comments

Comments
 (0)