mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-18 10:36:52 +03:00
Use attributes on the entity instead of annotations they are fully removed from ORM 3.0 (#1599)
This commit is contained in:
@@ -5,10 +5,8 @@ namespace App\Entity;
|
||||
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
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user