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
This release changes the behavior of the Mezzio\Helper\BodyParams\JsonStrategy::parse() method slightly. Previously, if the body could be parsed as JSON, the result was always passed to the request's withParsedBody() method. However, PSR-7 indicates that the method should only ever receive a null value, or structured data in the form of an array or object. As such. the JsonStrategy::parse() method now checks to see if we have anything other than an array or object returned from the json_decode() operation, and, if so, uses a null value to call withParsedBody().