private function initQueryParams($serverParams)
	{
		$result = [];

		if (isset($serverParams['REQUEST_URI']) && ($query = parse_url($serverParams['REQUEST_URI'], \PHP_URL_QUERY))) {
			parse_str($query, $result);
		}

		return $result ?? [];
	}
private function initQueryParams($serverParams)
	{
		$result = [];

		if (isset($serverParams['REQUEST_URI']) && ($query = parse_url($serverParams['REQUEST_URI'], \PHP_URL_QUERY))) {
			parse_str($query, $result);
		}

		return $result ?? [];
	}
private function initQueryParams ( $ serverParams ) { $ result = [ ] ; if ( isset ( $ serverParams [ 'REQUEST_URI' ] ) && ( $ query = parse_url ( $ serverParams [ 'REQUEST_URI' ] , \ PHP_URL_QUERY ) ) ) { parse_str ( $ query , $ result ) ; } return $ result ?? [ ] ; }
Initialize the headers.

@param string $serverParams
@return array the headers.
Initialize the headers .