Skip to content

Commit 7ca6baf

Browse files
committed
Merge remote-tracking branch 'git-31058/patch-1' into bluetooth_delivery
2 parents 2aab0b8 + f8d44aa commit 7ca6baf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CatalogInventory/Model/StockItemValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use Magento\Framework\Exception\LocalizedException;
1414

1515
/**
16-
* StockItemValidator
16+
* Validate Stock item
1717
*/
1818
class StockItemValidator
1919
{
@@ -67,7 +67,7 @@ public function validate(ProductInterface $product, StockItemInterface $stockIte
6767
throw new LocalizedException(
6868
__(
6969
'The "%1" value is invalid for stock item ID. '
70-
. 'Enter either zero or a number than zero to try again.',
70+
. 'Enter either null or a number greater than zero to try again.',
7171
$stockItemId
7272
)
7373
);

0 commit comments

Comments
 (0)