From 1c1759d24d4f62b8a12384bb71b42838d4cf7cdf Mon Sep 17 00:00:00 2001 From: Joel Butcher Date: Wed, 16 Dec 2020 13:03:59 +0000 Subject: [PATCH] added docblocks for withArchived, onlyArchived and withoutArchived --- src/Archivable.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Archivable.php b/src/Archivable.php index 81b8496..e0f0968 100644 --- a/src/Archivable.php +++ b/src/Archivable.php @@ -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 { /**