Question - Update for ParticipantDto.php
Opened this issue · 0 comments
Lucasnl commented
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;
`
Thanks !