diff --git a/src/Traits/ModelCaching.php b/src/Traits/ModelCaching.php index 5b240b4..1f428c3 100644 --- a/src/Traits/ModelCaching.php +++ b/src/Traits/ModelCaching.php @@ -75,19 +75,19 @@ public static function bootCachable() // $instance->checkCooldownAndFlushAfterPersisting($instance); // }); - static::pivotSynced(function ($instance, $secondInstance, $relationship) { + static::pivotSynced(function ($instance, $relationship) { $instance->checkCooldownAndFlushAfterPersisting($instance, $relationship); }); - static::pivotAttached(function ($instance, $secondInstance, $relationship) { + static::pivotAttached(function ($instance, $relationship) { $instance->checkCooldownAndFlushAfterPersisting($instance, $relationship); }); - static::pivotDetached(function ($instance, $secondInstance, $relationship) { + static::pivotDetached(function ($instance, $relationship) { $instance->checkCooldownAndFlushAfterPersisting($instance, $relationship); }); - static::pivotUpdated(function ($instance, $secondInstance, $relationship) { + static::pivotUpdated(function ($instance, $relationship) { $instance->checkCooldownAndFlushAfterPersisting($instance, $relationship); }); }