Skip to content

Commit 987dc16

Browse files
committed
Fix Doctrine deprecation: Specifying the "nullable" attribute for join columns in to-one associations that are part of the identifier is a no-op.
1 parent 792f956 commit 987dc16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Doctrine/Entity/PackageRequireLink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#[ORM\Entity]
88
class PackageRequireLink extends AbstractPackageLink
99
{
10-
#[ORM\Id, ORM\ManyToOne(targetEntity: Package::class), ORM\JoinColumn(nullable: false)]
10+
#[ORM\Id, ORM\ManyToOne(targetEntity: Package::class)]
1111
protected Package $package;
1212

1313
#[ORM\Id, ORM\Column]

0 commit comments

Comments
 (0)