Skip to content

Commit

Permalink
Merge pull request renoki-co#33 from renoki-co/fix/booting
Browse files Browse the repository at this point in the history
[Fix] Fixed booting method
  • Loading branch information
rennokki authored Jul 4, 2020
2 parents cde026c + 16574c7 commit 69c562a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Traits/QueryCacheable.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ public function getCacheTagsToInvalidateOnUpdate(): array
}

/**
* {@inheritdoc}
* Boot the trait.
*
* @return void
*/
public static function boot()
public static function bootQueryCacheable()
{
parent::boot();

if (isset(static::$flushCacheOnUpdate) && static::$flushCacheOnUpdate) {
static::observe(
static::getFlushQueryCacheObserver()
Expand Down

0 comments on commit 69c562a

Please sign in to comment.