Skip to content

Commit 942a5e9

Browse files
committed
Merge branch '5.1' into 5.x
2 parents 1cf93e7 + 86aed11 commit 942a5e9

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)