replace annotation with attributes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
e04d02bc06
commit
ac57b993f8
|
@ -13,9 +13,7 @@ use App\Repository\MyEntityRepository;
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
use App\Core\Entity\EntityInterface;
|
use App\Core\Entity\EntityInterface;
|
||||||
|
|
||||||
/**
|
#[ORM\Entity(repositoryClass: MyEntityRepository::class)]
|
||||||
* @ORM\Entity(repositoryClass=MyEntityRepository::class)
|
|
||||||
*/
|
|
||||||
class MyEntity implements EntityInterface
|
class MyEntity implements EntityInterface
|
||||||
{
|
{
|
||||||
// ...
|
// ...
|
||||||
|
|
|
@ -13,9 +13,7 @@ use App\Repository\MyEntityRepository;
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
use App\Core\Entity\EntityInterface;
|
use App\Core\Entity\EntityInterface;
|
||||||
|
|
||||||
/**
|
#[ORM\Entity(repositoryClass: MyEntityRepository::class)]
|
||||||
* @ORM\Entity(repositoryClass=MyEntityRepository::class)
|
|
||||||
*/
|
|
||||||
class MyEntity implements EntityInterface
|
class MyEntity implements EntityInterface
|
||||||
{
|
{
|
||||||
// ...
|
// ...
|
||||||
|
|
Loading…
Reference in a new issue