KnpLabs / DoctrineBehaviors

Doctrine2 behavior traits that help handling Blameable, Loggable, Sluggable, SoftDeletable, Uuidable, Timestampable, Translatable, Tree behavior
http://knplabs.com
MIT License
911 stars 287 forks source link

Update LoggableTrait.php #677

Closed parijke closed 2 years ago

parijke commented 2 years ago

Use for non-numeric keys. Adresses issue #676

parijke commented 2 years ago

@TomasVotruba how to handle getId() where it can be something else than an integer? I think you have created the PHPStan rule that fails.

TomasVotruba commented 2 years ago

Thank you :+1: makes sense