Skip to content

Commit 57e3180

Browse files
author
Marcel Hauri
committed
[fix] return type in InvalidArgumentException instead of fixed value chooser
1 parent 31a098b commit 57e3180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/InstantPurchase/Model/ShippingMethodChoose/DeferredShippingMethodChooserPool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function get($type) : DeferredShippingMethodChooserInterface
3939
{
4040
if (!isset($this->choosers[$type])) {
4141
throw new \InvalidArgumentException(sprintf(
42-
'Deferred shipping method chooser is not registered.',
42+
'Deferred shipping method %s is not registered.',
4343
$type
4444
));
4545
}

0 commit comments

Comments
 (0)