diff --git a/src/Traits/VersionColumn.php b/src/Traits/VersionColumn.php index 5dd17b6..c42c830 100644 --- a/src/Traits/VersionColumn.php +++ b/src/Traits/VersionColumn.php @@ -16,7 +16,7 @@ trait VersionColumn * @ORM\Column(type="integer", nullable=false, options={"default": 1}) */ #[ORM\Column(type: 'integer', nullable: false, options: ['default' => 1])] - private int $version = 1; + protected int $version = 1; public function getVersion(): int {