Skip to content

Commit 57ee173

Browse files
committed
fix: GeneaLabs/laravel-model-caching issue mikebronner#448 mikebronner#449
1 parent 76fbb54 commit 57ee173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/ModelCaching.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static function bootCachable()
7979
$instance->checkCooldownAndFlushAfterPersisting($instance, $relationship);
8080
});
8181

82-
static::pivotAttached(function ($instance, $secondInstance, $relationship) {
82+
static::pivotAttached(function ($instance, $relationship) {
8383
$instance->checkCooldownAndFlushAfterPersisting($instance, $relationship);
8484
});
8585

0 commit comments

Comments
 (0)