We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 831962f commit e194919Copy full SHA for e194919
1 file changed
src/Relation.php
@@ -197,7 +197,7 @@ public function getTargetClass(): ?string
197
*
198
* @throws \InvalidArgumentException If the target model class is not of type string
199
*/
200
- public function setTargetClass(string $targetClass): static
+ public function setTargetClass($targetClass): static
201
{
202
if (! is_string($targetClass)) {
203
// Require a class name here instead of a concrete model in oder to prevent circular references when
0 commit comments