Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typed property JiraCloud\Issue\IssueField::$labels must not be accessed before initialization #70

Open
neskodi opened this issue Oct 15, 2023 · 1 comment

Comments

@neskodi
Copy link
Contributor

neskodi commented Oct 15, 2023

When I have fetched some issues from JIRA and trying to access $issue->fields->labels I get "Typed property JiraCloud\Issue\IssueField::$labels must not be accessed before initialization"

(PHP version 8.2)

I've submitted a PR with a fix but I suggest you review other similar fields as well.

Cheers

@lesstif
Copy link
Owner

lesstif commented Oct 28, 2023

Hi @neskodi Thank you for your contribution.
I merged your PR(#69), but I'll release a new version after checking the work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants