From 69f16f9615bde4daf469e2aac46c34c23d551c79 Mon Sep 17 00:00:00 2001 From: rennokki Date: Sat, 9 Oct 2021 08:57:31 +0300 Subject: [PATCH] Changed getCacheBaseTags to use static instead of self Ref: https://github.com/renoki-co/laravel-eloquent-query-cache/pull/96 --- src/Traits/QueryCacheable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/QueryCacheable.php b/src/Traits/QueryCacheable.php index a93446d..83420a0 100644 --- a/src/Traits/QueryCacheable.php +++ b/src/Traits/QueryCacheable.php @@ -98,7 +98,7 @@ protected function newBaseQueryBuilder() protected function getCacheBaseTags(): array { return [ - (string) self::class, + (string) static::class, ]; } }