Commit dbf547b
committed
bug symfony#59046 [HttpClient] Fix Undefined array key
This PR was submitted for the 5.4 branch but it was merged into the 6.4 branch instead.
Discussion
----------
[HttpClient] Fix Undefined array key `connection`
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues | Fix symfony#59039 <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License | MIT
Check for array key before attempting to access it
Code style for human reading
Commits
-------
51c32ef [HttpClient] Fix Undefined array key "connection" symfony#59044connection (PhilETaylor)1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
316 | 325 | | |
317 | 326 | | |
318 | 327 | | |
| |||
0 commit comments