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
The CartItemInterface.php uses int data type for price value:
public function getPrice(): int;
I believe that more correct would be to have this value float/double to support decimal values in prices. In version <1.4 it was originally untyped function, so it was no problem.
I propose changing the signature to float.
The text was updated successfully, but these errors were encountered:
The
CartItemInterface.php
uses int data type for price value:public function getPrice(): int;
I believe that more correct would be to have this value float/double to support decimal values in prices. In version <1.4 it was originally untyped function, so it was no problem.
I propose changing the signature to float.
The text was updated successfully, but these errors were encountered: