Skip to content

Commit 3a62e61

Browse files
committed
bug fix for should not be called statically
1 parent 7dff880 commit 3a62e61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Http/Cookie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public static function create($header)
313313
* @param string $cookieHeader A string cookie header value.
314314
* @return array key/value cookie pairs.
315315
*/
316-
function parseCookieHeader($cookieHeader) : array
316+
public static function parseCookieHeader($cookieHeader) : array
317317
{
318318
if (\is_array($cookieHeader)) {
319319
$cookieHeader = isset($cookieHeader[0]) ? $cookieHeader[0] : '';

Http/Uri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public static function create(string $uri = ''): UriInterface
300300
*
301301
* @return Uri
302302
*/
303-
public function fromGlobals(array $globals): Uri
303+
public static function fromGlobals(array $globals): Uri
304304
{
305305
// Scheme
306306
$https = isset($globals['HTTPS']) ? $globals['HTTPS'] : false;

0 commit comments

Comments
 (0)