Closed alexmerlin closed 3 months ago
Nothing that would break the code - it's just a small issue I've identified during reviewing #265
As explained here:
Class-level traits must be on the class, not on the trait. The trait does not exist at runtime, only its properties and methods.
https://github.com/dotkernel/admin/blob/5.0/src/App/src/Entity/TimestampsTrait.php#L10
5.x
Remove attribute #[ORM\HasLifecycleCallbacks] from src/App/src/Entity/TimestampsTrait.php becuase it does nothing.
#[ORM\HasLifecycleCallbacks]
src/App/src/Entity/TimestampsTrait.php
Nothing that would break the code - it's just a small issue I've identified during reviewing #265
Issue:
As explained here:
Affected files:
https://github.com/dotkernel/admin/blob/5.0/src/App/src/Entity/TimestampsTrait.php#L10
Affected versions:
5.x
Solution:
Remove attribute
#[ORM\HasLifecycleCallbacks]
fromsrc/App/src/Entity/TimestampsTrait.php
becuase it does nothing.