We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f937d8 commit c4cf2eeCopy full SHA for c4cf2ee
src/QueryBuilder.php
@@ -51,8 +51,10 @@ public function getSubject(): Relation|EloquentBuilder
51
}
52
53
/**
54
- * @param EloquentBuilder<TModel>|Relation|class-string<TModel> $subject
55
- * @return static<TModel>
+ * @template T of Model
+ *
56
+ * @param EloquentBuilder<T>|Relation|class-string<T> $subject
57
+ * @return static<T>
58
*/
59
public static function for(
60
EloquentBuilder|Relation|string $subject,
0 commit comments