projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
symfony
/
browser-kit
/
Cookie.php
diff --git
a/vendor/symfony/browser-kit/Cookie.php
b/vendor/symfony/browser-kit/Cookie.php
index 1afd8da5f8e353d7775ba90a6985e73f9e892249..8857b62317b42a03504b324b58f9d85f7f5467dd 100644
(file)
--- a/
vendor/symfony/browser-kit/Cookie.php
+++ b/
vendor/symfony/browser-kit/Cookie.php
@@
-169,7
+169,7
@@
class Cookie
continue;
}
continue;
}
- if (2 === count($elements = explode('=', $part, 2))) {
+ if (2 ===
\
count($elements = explode('=', $part, 2))) {
if ('expires' === strtolower($elements[0])) {
$elements[1] = self::parseDate($elements[1]);
}
if ('expires' === strtolower($elements[0])) {
$elements[1] = self::parseDate($elements[1]);
}
@@
-193,7
+193,7
@@
class Cookie
private static function parseDate($dateValue)
{
// trim single quotes around date if present
private static function parseDate($dateValue)
{
// trim single quotes around date if present
- if (($length = strlen($dateValue)) > 1 && "'" === $dateValue[0] && "'" === $dateValue[$length - 1]) {
+ if (($length =
\
strlen($dateValue)) > 1 && "'" === $dateValue[0] && "'" === $dateValue[$length - 1]) {
$dateValue = substr($dateValue, 1, -1);
}
$dateValue = substr($dateValue, 1, -1);
}