Skip to content

Commit 22df1e8

Browse files
[DoctrineBridge] Fix deprecation with doctrine/dbal ^4.3
1 parent fd0094d commit 22df1e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/Fixtures/SingleAssociationToIntIdEntity.php

+2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@
1414
use Doctrine\ORM\Mapping\Column;
1515
use Doctrine\ORM\Mapping\Entity;
1616
use Doctrine\ORM\Mapping\Id;
17+
use Doctrine\ORM\Mapping\JoinColumn;
1718
use Doctrine\ORM\Mapping\OneToOne;
1819

1920
#[Entity]
2021
class SingleAssociationToIntIdEntity
2122
{
2223
public function __construct(
2324
#[Id, OneToOne(cascade: ['ALL'])]
25+
#[JoinColumn(nullable: false)]
2426
protected SingleIntIdNoToStringEntity $entity,
2527

2628
#[Column(nullable: true)]

0 commit comments

Comments
 (0)