diff --git a/composer.json b/composer.json index 6054f6f..fe8ede6 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "ext-json": "*" }, "require-dev": { - "phpunit/phpunit": "9.5", + "phpunit/phpunit": "9.6", "vlucas/phpdotenv": "^2.4", "phpstan/phpstan": "^1.10.14", "phpstan/phpstan-deprecation-rules": "^1.0.0", diff --git a/src/Models/OrderItem.php b/src/Models/OrderItem.php index 65a8a1b..3af480c 100644 --- a/src/Models/OrderItem.php +++ b/src/Models/OrderItem.php @@ -55,7 +55,6 @@ public function __construct($id, string $name, int $quantity, Price $price, stri $this->setQuantity($quantity); $this->setPrice($price); $this->setUrl($url); - $this->price = new Price(0, 0); $this->attributes = new Attributes(); }