Fix #1300 relation_return_type must take precedence if it is defined (#1394)

This commit is contained in:
Menthol
2024-02-08 09:48:26 +01:00
committed by GitHub
parent 9343d3a1cc
commit cee441c87c
6 changed files with 85 additions and 4 deletions
@@ -107,4 +107,9 @@ class Simple extends Model
{
return $this->testToAnyMorphedRelation(Simple::class);
}
public function relationSampleToBadlyNamedNotManyRelation()
{
return $this->testToBadlyNamedNotManyRelation(Simple::class);
}
}