Skip to content

Commit 5e48614

Browse files
authored
Merge pull request #77 from mrbenosborne/add-doc-comment-for-static-methods
Adds doc comment for type hinting
2 parents 232adea + a7d986a commit 5e48614

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)