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

Fix: #2749 bug "Can no longer delete permissions" #2759

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented Nov 8, 2024

Illuminate/Database/Eloquent/Model.php#L615-L619

public function newInstance($attributes = [], $exists = false)
{
// This method just provides a convenient way for us to generate fresh model
// instances of this current model. It is particularly useful during the
// hydration of new objects via the Eloquent query builder instances.

@drbyte drbyte merged commit 8bb69d6 into spatie:main Nov 8, 2024
33 checks passed
@drbyte
Copy link
Collaborator

drbyte commented Nov 8, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants