Skip to content

Commit c9d4480

Browse files
committed
AC-6080::Fixed static tests WebapiAsync/Model/OperationRepository.php
1 parent 8f663bb commit c9d4480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/WebapiAsync/Model/OperationRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public function __construct(
8080

8181
/**
8282
* @inheritDoc
83-
* @SuppressWarnings(PHPMD.EmptyCatchBlock)
8483
*/
8584
public function create($topicName, $entityParams, $groupId, $operationId): OperationInterface
8685
{
@@ -103,6 +102,7 @@ public function create($topicName, $entityParams, $groupId, $operationId): Opera
103102
try {
104103
$storeId = $this->storeManager->getStore()->getId();
105104
$serializedData['store_id'] = $storeId;
105+
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock.DetectedCatch
106106
} catch (NoSuchEntityException $e) {
107107
// skip setting store id in the serialized data if store doesn't exist
108108
}

0 commit comments

Comments
 (0)