-
For code: final class Rate extends Model
{
public function first(): BelongsTo
{
return $this->belongsTo(User::class);
}
/**
* @return BelongsTo<User, Rate>
*/
public function second(): BelongsTo
{
return $this->belongsTo(User::class);
}
/**
* @return BelongsTo<User, $this>
*/
public function third(): BelongsTo
{
return $this->belongsTo(User::class);
}
} i get error:
|
Beta Was this translation helpful? Give feedback.
Answered by
calebdw
Oct 16, 2024
Replies: 1 comment
Answer selected by
koraga
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Duplicate of #2071, see 17bce5f