Skip to content

Commit 86aed11

Browse files
committed
Merge branch '4.4' into 5.1
2 parents 65b7d20 + 5f11947 commit 86aed11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cookie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public static function fromString(string $cookie, string $url = null)
133133
throw new \InvalidArgumentException(sprintf('The cookie string "%s" is not valid.', $parts[0]));
134134
}
135135

136-
list($name, $value) = explode('=', array_shift($parts), 2);
136+
[$name, $value] = explode('=', array_shift($parts), 2);
137137

138138
$values = [
139139
'name' => trim($name),

0 commit comments

Comments
 (0)