replace annotation with attributes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-03-10 16:29:39 +01:00
parent e04d02bc06
commit ac57b993f8
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 2 additions and 6 deletions

View file

@ -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
{
// ...

View file

@ -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
{
// ...