Skip to content

Commit 69c562a

Browse files
authored
Merge pull request #33 from renoki-co/fix/booting
[Fix] Fixed booting method
2 parents cde026c + 16574c7 commit 69c562a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Traits/QueryCacheable.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public function getCacheTagsToInvalidateOnUpdate(): array
3131
}
3232

3333
/**
34-
* {@inheritdoc}
34+
* Boot the trait.
35+
*
36+
* @return void
3537
*/
36-
public static function boot()
38+
public static function bootQueryCacheable()
3739
{
38-
parent::boot();
39-
4040
if (isset(static::$flushCacheOnUpdate) && static::$flushCacheOnUpdate) {
4141
static::observe(
4242
static::getFlushQueryCacheObserver()

0 commit comments

Comments
 (0)