Use attributes instead of annotations (#1602)

This commit is contained in:
simon511000
2024-03-22 14:59:31 +01:00
committed by GitHub
parent 1673fc3b17
commit 3f410835f7
@@ -5,5 +5,5 @@
<bg=green;fg=white> The Doctrine configuration has been already done.</>
<bg=green;fg=white> 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;