From d0991b3b7011cba3e76c5114c8634d3ea5161d58 Mon Sep 17 00:00:00 2001 From: Tyler Date: Fri, 13 Dec 2024 14:53:03 -0600 Subject: [PATCH] + Added generics --- stubs/Relation.stub | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stubs/Relation.stub b/stubs/Relation.stub index 9971056..25fc8e6 100644 --- a/stubs/Relation.stub +++ b/stubs/Relation.stub @@ -3,7 +3,11 @@ namespace Illuminate\Database\Eloquent\Relations; /** - * @mixin \Illuminate\Database\Eloquent\Builder + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @template TDeclaringModel of \Illuminate\Database\Eloquent\Model + * @template TResult + * + * @mixin \Illuminate\Database\Eloquent\Builder */ abstract class Relation {