protected function parseParams($rankedQueues = null, $seasons = null, $championIds = null, $beginIndex = null, $endIndex = null, $beginTime = null, $endTime = null)
	{
		$params = [];

		if (isset($rankedQueues))
		{
			if (is_array($rankedQueues))
			{
				$params['rankedQueues'] = implode(',', $rankedQueues);
			}
			else
			{
				$params['rankedQueues'] = $rankedQueues;
			}
		}
		if (isset($seasons))
		{
			if (is_array($seasons))
			{
				$params['seasons'] = implode(',', $seasons);
			}
			else
			{
				$params['seasons'] = $seasons;
			}
		}

		if (isset($championIds))
		{
			if (is_array($championIds))
			{
				$params['championIds'] = implode(',', $championIds);
			}
			else
			{
				$params['championIds'] = $championIds;
			}
		}

		if (isset($beginIndex))
		{
			$params['beginIndex'] = $beginIndex;
		}
		if (isset($endIndex))
		{
			$params['endIndex'] = $endIndex;
		}
		if (isset($beginTime))
		{
			$params['beginTime'] = $beginTime;
		}
		if (isset($endTime))
		{
			$params['endTime'] = $endTime;
		}

		return $params;
	}