Skip to content

Commit

Permalink
Use attributes instead of annotations (#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon511000 authored Mar 22, 2024
1 parent 1673fc3 commit 3f41083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odolbeau/phone-number-bundle/3.0/post-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 3f41083

Please sign in to comment.