We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c50ed9 commit 0e3cff0Copy full SHA for 0e3cff0
docs/en/tutorials/composite-primary-keys.rst
@@ -250,7 +250,7 @@ of products purchased and maybe even the current price.
250
251
public function __construct(
252
#[ManyToOne(targetEntity: Customer::class)]
253
- private Customer $customer,
+ private Customer $customer
254
) {
255
$this->items = new ArrayCollection();
256
$this->created = new DateTime("now");
@@ -295,6 +295,7 @@ of products purchased and maybe even the current price.
295
$this->order = $order;
296
$this->product = $product;
297
$this->offeredPrice = $product->getCurrentPrice();
298
+ $this->amount = $amount;
299
}
300
301
0 commit comments