From 5dcbe7b43c237daf3504b4f43210eb89710bb932 Mon Sep 17 00:00:00 2001 From: Thilo Ratnaweera Date: Wed, 18 Jan 2023 16:30:32 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20#11=20allow=20usage=20in=20abstr?= =?UTF-8?q?act=20entities?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Traits/VersionColumn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {