You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the method is called IsCustomerShoppingCartEmpty and returns the inverted result of the Any method. However, in our code it is used to set the HasShoppingCartItems property, i.e. it is called each time with the inverted result.
I think it would be more correct to rename the method to HasShoppingCartItems and get rid of the double inversion
The text was updated successfully, but these errors were encountered:
Currently, the method is called IsCustomerShoppingCartEmpty and returns the inverted result of the Any method. However, in our code it is used to set the HasShoppingCartItems property, i.e. it is called each time with the inverted result.
I think it would be more correct to rename the method to HasShoppingCartItems and get rid of the double inversion
The text was updated successfully, but these errors were encountered: