diff --git a/src/Traits/QueryCacheable.php b/src/Traits/QueryCacheable.php index e78440a..d7be9c1 100644 --- a/src/Traits/QueryCacheable.php +++ b/src/Traits/QueryCacheable.php @@ -6,17 +6,17 @@ use Rennokki\QueryCache\Query\Builder; /** - * @method static bool flushQueryCache(string[] $array = []) + * @method static bool flushQueryCache(array $tags = []) * @method static bool flushQueryCacheWithTag(string $string) - * @method static \Illuminate\Database\Query\Builder|static cacheFor() + * @method static \Illuminate\Database\Query\Builder|static cacheFor(\DateTime|int|null $time) * @method static \Illuminate\Database\Query\Builder|static cacheForever() * @method static \Illuminate\Database\Query\Builder|static dontCache() * @method static \Illuminate\Database\Query\Builder|static doNotCache() - * @method static \Illuminate\Database\Query\Builder|static cachePrefix() - * @method static \Illuminate\Database\Query\Builder|static cacheTags() - * @method static \Illuminate\Database\Query\Builder|static appendCacheTags() - * @method static \Illuminate\Database\Query\Builder|static cacheDriver() - * @method static \Illuminate\Database\Query\Builder|static cacheBaseTags() + * @method static \Illuminate\Database\Query\Builder|static cachePrefix(string $prefix) + * @method static \Illuminate\Database\Query\Builder|static cacheTags(array $cacheTags = []) + * @method static \Illuminate\Database\Query\Builder|static appendCacheTags(array $cacheTags = []) + * @method static \Illuminate\Database\Query\Builder|static cacheDriver(string $cacheDriver) + * @method static \Illuminate\Database\Query\Builder|static cacheBaseTags(array $tags = []) */ trait QueryCacheable {