Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge 291bcaf into 2b33fcd
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Jun 26, 2018
2 parents 2b33fcd + 291bcaf commit d851f11
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ServerRequestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ public static function stripQueryString($path)
* @param string|array $host
* @return void
*/
private static function marshalHostAndPortFromHeader(stdClass $accumulator, $host)
public static function marshalHostAndPortFromHeader(stdClass $accumulator, $host)
{
if (is_array($host)) {
$host = implode(', ', $host);
Expand All @@ -427,7 +427,7 @@ private static function marshalHostAndPortFromHeader(stdClass $accumulator, $hos
* @param stdClass $accumulator
* @param array $server
*/
private static function marshalIpv6HostAndPort(stdClass $accumulator, array $server)
public static function marshalIpv6HostAndPort(stdClass $accumulator, array $server)
{
$accumulator->host = '[' . $server['SERVER_ADDR'] . ']';
$accumulator->port = $accumulator->port ?: 80;
Expand All @@ -447,7 +447,7 @@ private static function marshalIpv6HostAndPort(stdClass $accumulator, array $ser
* @param array $value $_FILES struct
* @return array|UploadedFileInterface
*/
private static function createUploadedFileFromSpec(array $value)
public static function createUploadedFileFromSpec(array $value)
{
if (is_array($value['tmp_name'])) {
return self::normalizeNestedFileSpec($value);
Expand All @@ -471,7 +471,7 @@ private static function createUploadedFileFromSpec(array $value)
* @param array $files
* @return UploadedFileInterface[]
*/
private static function normalizeNestedFileSpec(array $files = [])
public static function normalizeNestedFileSpec(array $files = [])
{
$normalizedFiles = [];
foreach (array_keys($files['tmp_name']) as $key) {
Expand All @@ -493,7 +493,7 @@ private static function normalizeNestedFileSpec(array $files = [])
* @param array $server
* @return string
*/
private static function marshalProtocolVersion(array $server)
public static function marshalProtocolVersion(array $server)
{
if (! isset($server['SERVER_PROTOCOL'])) {
return '1.1';
Expand All @@ -518,7 +518,7 @@ private static function marshalProtocolVersion(array $server)
* @param $cookieHeader
* @return array
*/
private static function parseCookieHeader($cookieHeader)
public static function parseCookieHeader($cookieHeader)
{
preg_match_all('(
(?:^\\n?[ \t]*|;[ ])
Expand Down

0 comments on commit d851f11

Please sign in to comment.