Skip to content

Commit fc20733

Browse files
committed
revert some changes
1 parent f73be49 commit fc20733

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/QueryBuilder.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function getSubject(): Relation|EloquentBuilder
5050
return $this->subject;
5151
}
5252

53-
/**
54-
* @return static<TModel>
55-
*/
5653
public static function for(
5754
EloquentBuilder|Relation|string $subject,
5855
?Request $request = null
@@ -82,14 +79,9 @@ public function __call($name, $arguments)
8279
return $result;
8380
}
8481

85-
/**
86-
* @return static<TModel>
87-
*/
8882
public function clone(): static
8983
{
90-
/** @var static<TModel> $cloned */
91-
$cloned = clone $this;
92-
return $cloned;
84+
return clone $this;
9385
}
9486

9587
public function __clone()

0 commit comments

Comments
 (0)