Skip to content

Commit

Permalink
Correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Dec 11, 2024
1 parent 2826e4c commit 9b50ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Updater/InventoryUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function updateAll(bool $onlyUpdated = true): void

try {
Assert::notNull($product->variantId, sprintf(
'Stock with id %d does not have a variant id.',
'Product with id %d does not have a variant id.',
(int) $product->id,
));

Expand Down

0 comments on commit 9b50ea7

Please sign in to comment.