Skip to content
New issue

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

Remove unnecessary and wrong definition of SoftDelete methods #918

Merged
merged 1 commit into from
Apr 19, 2020

Conversation

mfn
Copy link
Collaborator

@mfn mfn commented Apr 17, 2020

These two methods are already regular methods on the trait, there's no
need to add them and additionally they're not static, so their
definition was changed for the worse.

The other methods are magic so it's fine to keep them.

Fixes #917

These two methods are already regular methods on the trait, there's no
need to add them and additionally they're not static, so their
definition was changed for the worse.

The other methods are magic so it's fine to keep them.

Fixes barryvdh#917
@barryvdh barryvdh merged commit f4ae4c4 into barryvdh:master Apr 19, 2020
@barryvdh
Copy link
Owner

Thanks!

@mfn mfn deleted the mfn-softdeletes branch April 19, 2020 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

forceDelete() and restore() should not be static
2 participants