diff --git a/docs/entities/em.md b/docs/entities/em.md index f298014..a7f3bd0 100644 --- a/docs/entities/em.md +++ b/docs/entities/em.md @@ -13,9 +13,7 @@ use App\Repository\MyEntityRepository; use Doctrine\ORM\Mapping as ORM; use App\Core\Entity\EntityInterface; -/** - * @ORM\Entity(repositoryClass=MyEntityRepository::class) - */ +#[ORM\Entity(repositoryClass: MyEntityRepository::class)] class MyEntity implements EntityInterface { // ... diff --git a/docs/entities/query.md b/docs/entities/query.md index 2467a9a..18e79d5 100644 --- a/docs/entities/query.md +++ b/docs/entities/query.md @@ -13,9 +13,7 @@ use App\Repository\MyEntityRepository; use Doctrine\ORM\Mapping as ORM; use App\Core\Entity\EntityInterface; -/** - * @ORM\Entity(repositoryClass=MyEntityRepository::class) - */ +#[ORM\Entity(repositoryClass: MyEntityRepository::class)] class MyEntity implements EntityInterface { // ...