@@ -205,7 +205,7 @@ public function flushQueryCacheWithTag(string $tag): bool
205205 * Indicate that the query results should be cached.
206206 *
207207 * @param \DateTime|int $time
208- * @return \Rennokki\QueryCache\Query\Builder
208+ * @return \Rennokki\QueryCache\Traits\QueryCacheModule
209209 */
210210 public function cacheFor ($ time )
211211 {
@@ -253,7 +253,7 @@ public function doNotCache(bool $avoidCache = true)
253253 * Set the cache prefix.
254254 *
255255 * @param string $prefix
256- * @return \Rennokki\QueryCache\Query\Builder
256+ * @return \Rennokki\QueryCache\Traits\QueryCacheModule
257257 */
258258 public function cachePrefix (string $ prefix )
259259 {
@@ -266,7 +266,7 @@ public function cachePrefix(string $prefix)
266266 * Attach tags to the cache.
267267 *
268268 * @param array $cacheTags
269- * @return \Rennokki\QueryCache\Query\Builder
269+ * @return \Rennokki\QueryCache\Traits\QueryCacheModule
270270 */
271271 public function cacheTags (array $ cacheTags = [])
272272 {
@@ -279,7 +279,7 @@ public function cacheTags(array $cacheTags = [])
279279 * Append tags to the cache.
280280 *
281281 * @param array $cacheTags
282- * @return \Rennokki\QueryCache\Query\Builder
282+ * @return \Rennokki\QueryCache\Traits\QueryCacheModule
283283 */
284284 public function appendCacheTags (array $ cacheTags = [])
285285 {
@@ -292,7 +292,7 @@ public function appendCacheTags(array $cacheTags = [])
292292 * Use a specific cache driver.
293293 *
294294 * @param string $cacheDriver
295- * @return \Rennokki\QueryCache\Query\Builder
295+ * @return \Rennokki\QueryCache\Traits\QueryCacheModule
296296 */
297297 public function cacheDriver (string $ cacheDriver )
298298 {
@@ -306,7 +306,7 @@ public function cacheDriver(string $cacheDriver)
306306 * that will be present on all cached queries.
307307 *
308308 * @param array $tags
309- * @return \Rennokki\QueryCache\Query\Builder
309+ * @return \Rennokki\QueryCache\Traits\QueryCacheModule
310310 */
311311 public function cacheBaseTags (array $ tags = [])
312312 {
@@ -318,7 +318,7 @@ public function cacheBaseTags(array $tags = [])
318318 /**
319319 * Use a plain key instead of a hashed one in the cache driver.
320320 *
321- * @return \Rennokki\QueryCache\Query\Builder
321+ * @return \Rennokki\QueryCache\Traits\QueryCacheModule
322322 */
323323 public function withPlainKey ()
324324 {
0 commit comments