Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Update BelongsToMany.php #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NairanOmura
Copy link

the attach() method only allowed one id to be attached at a time, correction to allow multiple ids to be attached at a time;

the detach() method was in conflict with other libraries that use the "deleted" event, for example, the "owen-it/laravel-auditing" library, this way it is possible to capture the "detached()" event without triggering many events "deleted" that affect and conflict with other libraries

the attach() method only allowed one id to be attached at a time, correction to allow multiple ids to be attached at a time;

the detach() method was in conflict with other libraries that use the "deleted" event, for example, the "owen-it/laravel-auditing" library, this way it is possible to capture the "detached()" event without triggering many events "deleted" that affect and conflict with other libraries
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant