Skip to content

Commit

Permalink
Merge pull request #6 from joelbutcher/patch-1
Browse files Browse the repository at this point in the history
added docblocks for withArchived, onlyArchived and withoutArchived
  • Loading branch information
joelbutcher authored Dec 16, 2020
2 parents fc642a1 + 1c1759d commit f99315d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Archivable.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
use Exception;
use LaravelArchivable\Scopes\ArchivableScope;

/**
* @method static static|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder withArchived()
* @method static static|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder onlyArchived()
* @method static static|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder withoutArchived()
*/
trait Archivable
{
/**
Expand Down

0 comments on commit f99315d

Please sign in to comment.