Skip to content

No property generated for this method #1625

Open
@Vasiliy-Makogon

Description

@Vasiliy-Makogon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions