From 41923bd61bf70cf86620459af6cd44e97377ce90 Mon Sep 17 00:00:00 2001 From: Tyler Date: Fri, 13 Dec 2024 14:52:30 -0600 Subject: [PATCH] + Added generics --- stubs/BelongsToMany.stub | 6 ++++++ 1 file changed, 6 insertions(+) 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