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
If I call $request->getPayload() it throws a JsonException.
What is the intended behavior?
In my opinion throwing an exception is fine, but @throws Symfony\Component\HttpFoundation\Exception\JsonException on the method would be nice.
How to reproduce
Call getPayload on request object in a controller and make POST request with empty body.