diff --git a/src/CanBeBought.php b/src/CanBeBought.php index 093f927..a3abba6 100644 --- a/src/CanBeBought.php +++ b/src/CanBeBought.php @@ -38,7 +38,7 @@ trait CanBeBought public function getBuyablePrice(): Money { if (($price = $this->getAttribute('price'))) { - return $price; + return new Money($price); } }