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
Undefined offset: 422 in ...athlon1600\php-proxy\src\Http\Response.php on line 77
In Response class, in status codes missing some of descriptions from status codes. For example: 422 - but there are more codes without description. If index (status code) not exists, php throw notice message. Other descriptions that should be completed can be found here.
Moreover, code descriptions should first come from the original http response, and as a last resort, if the description from the response does empty, it should be overwritten with the description from $statusCodes. Otherwise, if the index in $statusCodes is not found, the method getStatusText should return an default value (empty string).
The text was updated successfully, but these errors were encountered:
In Response class, in status codes missing some of descriptions from status codes. For example: 422 - but there are more codes without description. If index (status code) not exists, php throw notice message. Other descriptions that should be completed can be found here.
Moreover, code descriptions should first come from the original http response, and as a last resort, if the description from the response does empty, it should be overwritten with the description from $statusCodes. Otherwise, if the index in $statusCodes is not found, the method getStatusText should return an default value (empty string).
The text was updated successfully, but these errors were encountered: