Skip to content

Commit eda9874

Browse files
fix webapi-graphql tests falling
1 parent 709c241 commit eda9874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/Model/ShippingInformationManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ private function validateAddress(?AddressInterface $address): void
244244
*/
245245
protected function validateQuote(Quote $quote): void
246246
{
247-
if (0 === $quote->getItemsCount()) {
247+
if (!$quote->getItemsCount()) {
248248
throw new InputException(
249249
__('The shipping method can\'t be set for an empty cart. Add an item to cart and try again.')
250250
);

0 commit comments

Comments
 (0)