Skip to content

Commit a7d986a

Browse files
author
Ben Osborne
committed
add doc comment for type hinting
1 parent 232adea commit a7d986a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Traits/QueryCacheable.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
use Rennokki\QueryCache\FlushQueryCacheObserver;
66
use Rennokki\QueryCache\Query\Builder;
77

8+
/**
9+
* @method static \Illuminate\Database\Query\Builder|static cacheForever()
10+
* @method static \Illuminate\Database\Query\Builder|static dontCache()
11+
* @method static \Illuminate\Database\Query\Builder|static doNotCache()
12+
*/
813
trait QueryCacheable
914
{
1015
/**

0 commit comments

Comments
 (0)