Skip to content

Commit

Permalink
annotation func hints, for enable autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuilam authored Apr 27, 2019
1 parent 774e656 commit 7b91285
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Illuminate/Database/Eloquent/SoftDeletes.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

namespace Illuminate\Database\Eloquent;

/**
* @method static static|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder withTrashed()
* @method static static|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder onlyTrashed()
* @method static static|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder withoutTrashed()
* @method bool restore()

This comment has been minimized.

Copy link
@xiaohuilam

xiaohuilam Apr 29, 2019

Author Contributor

* @method bool restore() seems to be superfluous. wait next pr to remove.

*/
trait SoftDeletes
{
/**
Expand Down

0 comments on commit 7b91285

Please sign in to comment.