diff --git a/stubs/BelongsToMany.stub b/stubs/BelongsToMany.stub index 92e23fe..c70353a 100644 --- a/stubs/BelongsToMany.stub +++ b/stubs/BelongsToMany.stub @@ -3,8 +3,14 @@ namespace Illuminate\Database\Eloquent\Relations; use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Eloquent\Relations\Relation; /** + * @template TRelatedModel of Model + * @template TDeclaringModel of Model + * + * @extends Relation> + * * @method class-string getPivotClass() */ class BelongsToMany