mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-22 23:25:23 +00:00
Fix recursion
This commit is contained in:
@@ -169,7 +169,7 @@ class CartItem implements Arrayable, Jsonable
|
||||
*/
|
||||
public function price(): Money
|
||||
{
|
||||
return $this->price()->multiply($this->qty);
|
||||
return $this->price->multiply($this->qty);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user