Skip to content

Commit

Permalink
🐛 #11 allow usage in abstract entities
Browse files Browse the repository at this point in the history
  • Loading branch information
netbrothers-tr committed Jan 18, 2023
1 parent 6116596 commit 5dcbe7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/VersionColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 5dcbe7b

Please sign in to comment.