merged branch entering/browser-kit-beautify-code (PR #8432)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #8432). Discussion ---------- [BrowserKit] CookieJar remove unneeded var, Client remove unneeded else | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 10c6799 [BrowserKit] CookieJar remove unneeded var, Client remove unneeded else
This commit is contained in:
commit
92c30b913b
|
@ -59,7 +59,7 @@ class CookieJar
|
|||
}
|
||||
|
||||
// avoid relying on this behavior that is mainly here for BC reasons
|
||||
foreach ($this->cookieJar as $domain => $cookies) {
|
||||
foreach ($this->cookieJar as $cookies) {
|
||||
if (isset($cookies[$path][$name])) {
|
||||
return $cookies[$path][$name];
|
||||
}
|
||||
|
|
Reference in New Issue