We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HasLifecycleCallbacks
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
The text was updated successfully, but these errors were encountered:
Issue #266: Removed HasLifecycleCallbacks from TimestampsTrait.php
f7021c3
Signed-off-by: Alex Karajos <[email protected]>
TimestampsTrait.php
Merge pull request #269 from dotkernel/issue-266
e02bb2d
Issue #266: Removed `HasLifecycleCallbacks` from `TimestampsTrait.php`
alexmerlin
MarioRadu
Successfully merging a pull request may close this issue.
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.The text was updated successfully, but these errors were encountered: