8000 merged branch entering/browser-kit-beautify-code (PR #8432) · symfony/symfony@92c30b9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 92c30b9

Browse files
committed
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
2 parents eaf9ede + 4d2051c commit 92c30b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/BrowserKit/CookieJar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function get($name, $path = '/', $domain = null)
5959
}
6060

6161
// avoid relying on this behavior that is mainly here for BC reasons
62-
foreach ($this->cookieJar as $domain => $cookies) {
62+
foreach ($this->cookieJar as $cookies) {
6363
if (isset($cookies[$path][$name])) {
6464
return $cookies[$path][$name];
6565
}

0 commit comments

Comments
 (0)
0