Open
Description
Versions:
- ide-helper Version: 2.12.3
- Laravel Version: 8.83.9
- PHP Version: 8.0
Question:
Why is no description created for this method?
public function currentEmployee(int|null $legalEntityId = null): HasOne
{
return $this->hasOne(Employee::class)
->where('legal_entity_id', $legalEntityId);
}
$currentEmployee = $user->currentEmployee();
print_r(get_class($currentEmployee)); // Illuminate\Database\Eloquent\Relations\HasOne