@@ -26,32 +26,32 @@ public static function all($columns = ['*'])
2626 public static function bootCachable ()
2727 {
2828 static ::created (function ($ instance ) {
29- $ instance ->checkCooldownAndFlushAfterPersiting ($ instance );
29+ $ instance ->checkCooldownAndFlushAfterPersisting ($ instance );
3030 });
3131
3232 static ::deleted (function ($ instance ) {
33- $ instance ->checkCooldownAndFlushAfterPersiting ($ instance );
33+ $ instance ->checkCooldownAndFlushAfterPersisting ($ instance );
3434 });
3535
3636 static ::saved (function ($ instance ) {
37- $ instance ->checkCooldownAndFlushAfterPersiting ($ instance );
37+ $ instance ->checkCooldownAndFlushAfterPersisting ($ instance );
3838 });
3939
4040 // TODO: figure out how to add this listener
4141 // static::restored(function ($instance) {
42- // $instance->checkCooldownAndFlushAfterPersiting ($instance);
42+ // $instance->checkCooldownAndFlushAfterPersisting ($instance);
4343 // });
4444
4545 static ::pivotAttached (function ($ instance ) {
46- $ instance ->checkCooldownAndFlushAfterPersiting ($ instance );
46+ $ instance ->checkCooldownAndFlushAfterPersisting ($ instance );
4747 });
4848
4949 static ::pivotDetached (function ($ instance ) {
50- $ instance ->checkCooldownAndFlushAfterPersiting ($ instance );
50+ $ instance ->checkCooldownAndFlushAfterPersisting ($ instance );
5151 });
5252
5353 static ::pivotUpdated (function ($ instance ) {
54- $ instance ->checkCooldownAndFlushAfterPersiting ($ instance );
54+ $ instance ->checkCooldownAndFlushAfterPersisting ($ instance );
5555 });
5656 }
5757
0 commit comments