From 9f9c92514b78bcda69ac51abe3985d4ff8e3d00d Mon Sep 17 00:00:00 2001 From: Andrei Karpilin Date: Thu, 29 Feb 2024 12:03:27 +0000 Subject: [PATCH] Use attributes on the entity instead of annotations they are fully removed from ORM 3.0 --- .../1.0/src/Entity/RefreshToken.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gesdinet/jwt-refresh-token-bundle/1.0/src/Entity/RefreshToken.php b/gesdinet/jwt-refresh-token-bundle/1.0/src/Entity/RefreshToken.php index aaf449622..d607a6313 100644 --- a/gesdinet/jwt-refresh-token-bundle/1.0/src/Entity/RefreshToken.php +++ b/gesdinet/jwt-refresh-token-bundle/1.0/src/Entity/RefreshToken.php @@ -5,10 +5,8 @@ use Doctrine\ORM\Mapping as ORM; use Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken as BaseRefreshToken; -/** - * @ORM\Entity - * @ORM\Table("refresh_tokens") - */ +#[ORM\Entity] +#[ORM\Table(name: 'refresh_tokens')] class RefreshToken extends BaseRefreshToken { }