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
{{ message }}
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
If someone tries to do a Siler\Http\Request\json() when the request body is empty, the json_decode will fail (and return null), and the array type enforcing will fail, thus throwing a TypeError.
An example message is:
Fatal error: Uncaught TypeError: Return value of Siler\Http\Request\json() must be of the type array, null returned
The text was updated successfully, but these errors were encountered:
If someone tries to do a
Siler\Http\Request\json()
when the request body is empty, the json_decode will fail (and return null), and the array type enforcing will fail, thus throwing a TypeError.An example message is:
The text was updated successfully, but these errors were encountered: