From 7870058af69215cb633ec39012185aed620f8c04 Mon Sep 17 00:00:00 2001 From: Superkooka Date: Sun, 21 Dec 2025 00:40:31 +0100 Subject: [PATCH] fix: remove setReadOnly on domain entity mapping --- .../Persistence/Mapping/App.Domain.Entity.Game.php | 1 - .../Persistence/Mapping/App.Domain.Entity.League.php | 1 - .../Persistence/Mapping/App.Domain.Entity.Provider.php | 1 - .../Persistence/Mapping/App.Domain.Entity.Season.php | 1 - .../Persistence/Mapping/App.Domain.Entity.Team.php | 1 - 5 files changed, 5 deletions(-) diff --git a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Game.php b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Game.php index 8e92ce9..c8725d1 100644 --- a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Game.php +++ b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Game.php @@ -5,7 +5,6 @@ declare(strict_types=1); $builder = new Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder($metadata); $builder - ->setReadOnly() ->setTable('game') ; diff --git a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.League.php b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.League.php index 7d67bcc..a3cdc2e 100644 --- a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.League.php +++ b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.League.php @@ -5,7 +5,6 @@ declare(strict_types=1); $builder = new Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder($metadata); $builder - ->setReadOnly() ->setTable('league') ; diff --git a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Provider.php b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Provider.php index d4dcbd8..1b4dead 100644 --- a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Provider.php +++ b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Provider.php @@ -5,7 +5,6 @@ declare(strict_types=1); $builder = new Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder($metadata); $builder - ->setReadOnly() ->setTable('provider') ; diff --git a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Season.php b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Season.php index 3656d8c..ab4044c 100644 --- a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Season.php +++ b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Season.php @@ -5,7 +5,6 @@ declare(strict_types=1); $builder = new Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder($metadata); $builder - ->setReadOnly() ->setTable('season') ; diff --git a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Team.php b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Team.php index cc4a2cc..b234dca 100644 --- a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Team.php +++ b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Team.php @@ -5,7 +5,6 @@ declare(strict_types=1); $builder = new Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder($metadata); $builder - ->setReadOnly() ->setTable('team') ;