Skip to content

Commit

Permalink
Merge branch '5.1' into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Oct 28, 2020
2 parents 1cf93e7 + 86aed11 commit 942a5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public static function fromString(string $cookie, string $url = null)
throw new \InvalidArgumentException(sprintf('The cookie string "%s" is not valid.', $parts[0]));
}

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

$values = [
'name' => trim($name),
Expand Down

0 comments on commit 942a5e9

Please sign in to comment.