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