Commit 907984c
Ibrahim BinAlshikh
fix: use $response instance instead of static Response::addHeader() in StartSessionMiddleware
Response::addHeader() is an instance method, not static. The static
call silently fails in PHP 8.x (caught by the Error handler), so
the session Set-Cookie header is never added to the response.
Fixes #2971 parent 1faf4a1 commit 907984c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments