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

Commits on Feb 9, 2024

  1. Update BelongsToMany.php

    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
    NairanOmura authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    cff6b14 View commit details
    Browse the repository at this point in the history