Skip to content

Commit 16574c7

Browse files
authored
Updated the booting
1 parent cde026c commit 16574c7

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)