Skip to content

$fixVersion default value is unnecessary set to empty array unlike any other property #558

@nikolajevtovic

Description

@nikolajevtovic

In IssueField.php, line 50, change the:

public array $fixVersions = [];

to:

public ?array $fixVersions = null;

This change sets the default value to null, aligning it with other fields. It helps prevent unexpected behavior that might occur when this field is unintentionally set to an empty array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions