You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Illuminate\Routing\RoutingServiceProvider::registerPsrRequest is passing a potentially null value to the array_merge function on merging requests' parsed body with the Illuminate request payload. It causes a TypeError exception. I'm already working on a PR fixing it
Steps To Reproduce
Using PSR-7 Bridge
Make a request without parameters, at least with the "content-type" header. For instance:
Laravel Version
10.29.0
PHP Version
8.2
Database Driver & Version
No response
Description
Illuminate\Routing\RoutingServiceProvider::registerPsrRequest
is passing a potentially null value to thearray_merge
function on merging requests' parsed body with the Illuminate request payload. It causes aTypeError
exception. I'm already working on a PR fixing itSteps To Reproduce
TypeError: array_merge(): Argument #1 must be of type array, null given
The text was updated successfully, but these errors were encountered: