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 f73be49 commit fc20733Copy full SHA for fc20733
src/QueryBuilder.php
@@ -50,9 +50,6 @@ public function getSubject(): Relation|EloquentBuilder
50
return $this->subject;
51
}
52
53
- /**
54
- * @return static<TModel>
55
- */
56
public static function for(
57
EloquentBuilder|Relation|string $subject,
58
?Request $request = null
@@ -82,14 +79,9 @@ public function __call($name, $arguments)
82
79
return $result;
83
80
84
81
85
86
87
88
public function clone(): static
89
{
90
- /** @var static<TModel> $cloned */
91
- $cloned = clone $this;
92
- return $cloned;
+ return clone $this;
93
94
95
public function __clone()
0 commit comments