VentureCraft / revisionable

Easily create a revision history for any laravel model
http://twitter.com/duellsy
MIT License
2.56k stars 348 forks source link

Update RevisionableTrait.php #386

Open patrickcurl opened 3 years ago

patrickcurl commented 3 years ago

Namespace fix, causing errors in laravel with php 7.4. E.G: Call to undefined method Event::dispatch(), explicitly namespacing the classes and removing backslash, fixes the bug.

See: https://github.com/VentureCraft/revisionable/issues/376