diff --git a/Model/Credentials/CredentialsTrait.php b/Model/Credentials/CredentialsTrait.php index bd5d4ba..8dd0fc1 100644 --- a/Model/Credentials/CredentialsTrait.php +++ b/Model/Credentials/CredentialsTrait.php @@ -22,6 +22,7 @@ trait CredentialsTrait /** * @ORM\Column(type="datetimetz", nullable=true) */ + #[ORM\Column(type: 'datetimetz', nullable: true)] protected ?\DateTime $credentialsLastChangedAt = null; /** diff --git a/Model/Timestampable/TimestampableTrait.php b/Model/Timestampable/TimestampableTrait.php index 9f103a2..bd62651 100644 --- a/Model/Timestampable/TimestampableTrait.php +++ b/Model/Timestampable/TimestampableTrait.php @@ -23,6 +23,7 @@ trait TimestampableTrait /** * @ORM\Column(type="datetimetz_immutable") */ + #[ORM\Column(type: 'datetimetz_immutable')] protected \DateTimeImmutable $createdAt; /** @@ -30,6 +31,7 @@ trait TimestampableTrait * * @Gedmo\Timestampable(on="update") */ + #[ORM\Column(type: 'datetimetz')] protected \DateTime $updatedAt; /** diff --git a/Validator/Constraints/Password/PasswordMeetSpecialRequirements.php b/Validator/Constraints/Password/PasswordMeetSpecialRequirements.php index 827bee5..aa6f9b0 100644 --- a/Validator/Constraints/Password/PasswordMeetSpecialRequirements.php +++ b/Validator/Constraints/Password/PasswordMeetSpecialRequirements.php @@ -19,6 +19,7 @@ * * @Annotation */ +#[\Attribute] class PasswordMeetSpecialRequirements extends Constraint { public const PASSWORD_DOES_NOT_MEET_SPECIAL_REQUIREMENTS = 'PASSWORD_DOES_NOT_MEET_SPECIAL_REQUIREMENTS';