diff --git a/tests/Tests/Models/RelationAsId/Group.php b/tests/Tests/Models/RelationAsId/Group.php index 9c59161f0b..c15159aeed 100644 --- a/tests/Tests/Models/RelationAsId/Group.php +++ b/tests/Tests/Models/RelationAsId/Group.php @@ -15,11 +15,15 @@ class Group /** * @ORM\Id * @ORM\Column(type="integer") + * + * @var int */ public $id; /** * @ORM\Column(type="string") + * + * @var string */ public $name; } diff --git a/tests/Tests/Models/RelationAsId/Membership.php b/tests/Tests/Models/RelationAsId/Membership.php index ee17c35fde..d22df10259 100644 --- a/tests/Tests/Models/RelationAsId/Membership.php +++ b/tests/Tests/Models/RelationAsId/Membership.php @@ -15,17 +15,23 @@ class Membership /** * @ORM\Id * @ORM\ManyToOne(targetEntity=User::class) + * + * @var User */ public $user; /** * @ORM\Id * @ORM\ManyToOne(targetEntity=Group::class) + * + * @var Group */ public $group; /** * @ORM\Column(type="string") + * + * @var srtring */ public $role; } diff --git a/tests/Tests/Models/RelationAsId/Profile.php b/tests/Tests/Models/RelationAsId/Profile.php index 3f41965419..d6d22f90c1 100644 --- a/tests/Tests/Models/RelationAsId/Profile.php +++ b/tests/Tests/Models/RelationAsId/Profile.php @@ -15,11 +15,15 @@ class Profile /** * @ORM\Id * @ORM\OneToOne(targetEntity="User") + * + * @var User */ public $user; /** * @ORM\Column(type="string") + * + * @var string */ public $url; } diff --git a/tests/Tests/Models/RelationAsId/User.php b/tests/Tests/Models/RelationAsId/User.php index b3fc64ce8f..fc18ee0cf8 100644 --- a/tests/Tests/Models/RelationAsId/User.php +++ b/tests/Tests/Models/RelationAsId/User.php @@ -15,11 +15,15 @@ class User /** * @ORM\Id * @ORM\Column(type="integer") + * + * @var int */ public $id; /** * @ORM\Column(type="string") + * + * @var string */ public $name; } diff --git a/tests/Tests/ORM/Functional/GetReferenceOnRelationAsIdTest.php b/tests/Tests/ORM/Functional/GetReferenceOnRelationAsIdTest.php index 26c13ba317..75d34dee72 100644 --- a/tests/Tests/ORM/Functional/GetReferenceOnRelationAsIdTest.php +++ b/tests/Tests/ORM/Functional/GetReferenceOnRelationAsIdTest.php @@ -13,9 +13,6 @@ use Doctrine\Tests\Proxies\__CG__\Doctrine\Tests\Models\RelationAsId\Membership as MembershipProxy; use Doctrine\Tests\Proxies\__CG__\Doctrine\Tests\Models\RelationAsId\User as UserProxy; -/** - * @group pkfk - */ class GetReferenceOnRelationAsIdTest extends OrmFunctionalTestCase { protected function setUp(): void