From 3f410835f7147dacd32d500cacff712c55d8f788 Mon Sep 17 00:00:00 2001 From: simon511000 Date: Fri, 22 Mar 2024 14:59:31 +0100 Subject: [PATCH] Use attributes instead of annotations (#1602) --- odolbeau/phone-number-bundle/3.0/post-install.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odolbeau/phone-number-bundle/3.0/post-install.txt b/odolbeau/phone-number-bundle/3.0/post-install.txt index a71c1801..8748c562 100644 --- a/odolbeau/phone-number-bundle/3.0/post-install.txt +++ b/odolbeau/phone-number-bundle/3.0/post-install.txt @@ -5,5 +5,5 @@ The Doctrine configuration has been already done. You now can use `phone_number` as an ORM-Type: - /** @ORM\Column(type="phone_number") */ - private $phoneNumber; + #[ORM\Column(type: 'phone_number')] + private ?PhoneNumber $phoneNumber = null;