Skip to content

Commit 2dc298e

Browse files
committed
Fixed wrong usage of sprintf, it only takes 2 placeholders here and we gave it 3 arguments.
1 parent 725b648 commit 2dc298e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/Magento/Framework/MessageQueue/Consumer/Config/Validator/ConsumerInstance.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class ConsumerInstance implements ValidatorInterface
1616
{
1717
/**
18-
* {@inheritdoc}
18+
* @inheritdoc
1919
*/
2020
public function validate($configData)
2121
{
@@ -43,7 +43,6 @@ private function validateConsumerInstance($consumerConfig)
4343
"'%s' does not exist and thus cannot be used as 'consumerInstance' for '%s' consumer.",
4444
$consumerInstance,
4545
$consumerConfig['name'],
46-
ConsumerInterface::class
4746
)
4847
);
4948
}

0 commit comments

Comments
 (0)