Skip to content

Commit

Permalink
Fixing id property visibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilverloop committed Sep 22, 2022
1 parent 4d49552 commit 8ac400a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [5.0.1] - 2022-09-22
### Fixed
- `id` property must stay protected.

## [5.0.0] - 2022-09-22
### Changed
- Minimum requirement Doctrine ORM 2.13.
Expand Down
2 changes: 1 addition & 1 deletion src/IntId.php
Expand Up @@ -35,7 +35,7 @@ abstract class IntId
),
GeneratedValue(strategy: "AUTO")
]
private ?int $id;
protected ?int $id;


// Magic methods :
Expand Down

0 comments on commit 8ac400a

Please sign in to comment.