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

Question - Update for ParticipantDto.php #15

Open
Lucasnl opened this issue Oct 11, 2022 · 0 comments
Open

Question - Update for ParticipantDto.php #15

Lucasnl opened this issue Oct 11, 2022 · 0 comments

Comments

@Lucasnl
Copy link

Lucasnl commented Oct 11, 2022

Hello Daniel !

I want to know if you plan to update ParticipantDto with the new "challenges" property , because if i try to access the "challenges " property i get this error

Trying to access undefined property 'challenges' on object

and my quick fix for that was adding the following code at the end of the ParticipantDto.php , it's working for now , but i don't know if it is the proper correction.


`	/**
	 * Available when received from:
	 *   - @see LeagueAPI::getMatch
	 *
	 * @var bool $win
	 */

	public $challenges;
`

`image

Thanks !

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

1 participant