Skip to content

Commit

Permalink
Fix phan
Browse files Browse the repository at this point in the history
  • Loading branch information
supercid committed Sep 17, 2024
1 parent 182c8e5 commit ffb43ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Model/Service/Sync/AbstractBulkPublisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,9 @@ private function publishCollectionToMessageQueue(
$bulkDescription
);
if (!$result) {
$msg = 'Something went wrong while publishing bulk to RabbitMQ. Please check your connection';
/** @phan-suppress-next-line PhanTypeMismatchArgumentProbablyReal */
throw new LocalizedException(__(
'Something went wrong while publishing bulk to RabbitMQ. Please check your connection'
));
throw new LocalizedException(__($msg));
}
}

Expand Down

0 comments on commit ffb43ee

Please sign in to comment.