Commit ea80120
committed
bug #54333 [HttpFoundation] Allow array style callable setting for Request setFactory method (simbera)
This PR was squashed before being merged into the 7.0 branch.
Discussion
----------
[HttpFoundation] Allow array style callable setting for Request setFactory method
| Q | A
| ------------- | ---
| Branch? | 7.0
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix #54321
| License | MIT
Allowing to use the array notation for callback for the setFactory static method of the request.
Unit test added to confirm bug/fixing the bug.
Commits
-------
696add6 [HttpFoundation] Allow array style callable setting for Request setFactory methodFile tree
2 files changed
+18
-1
lines changed- src/Symfony/Component/HttpFoundation
- Tests
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2197 | 2197 | | |
2198 | 2198 | | |
2199 | 2199 | | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
2200 | 2217 | | |
2201 | 2218 | | |
2202 | 2219 | | |
| |||
0 commit comments