dolejska-daniel/riot-api

tournaments codes endpoint allowedSummonerIds

Closed this issue · 1 comments

Hello

There is another problem with the tournament codes ENDPOINT, lines 2743 and 2744, could you fix that?

		if (empty($parameters->allowedSummonerIds))
			throw new RequestParameterException('List of participants (allowedSummonerIds) may not be empty. If you wish to allow anyone, fill it with 0, 1, 2, 3, etc.');

This is just not true as I understand it, the array can just be empty no? What does it even mean to fill it with 0,1,2...?

Best regards

nevermind this was already fixed I believe I made the exact same issue, must be my version that is causing the problem.