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
Why are you using as parameter a streamfactory ? the response factory should already initialise a blank and writable stream.
So instead of creating a new body and inject it in the response, you can simply use the one in the new response.
Hi,
Why are you using as parameter a streamfactory ? the response factory should already initialise a blank and writable stream.
So instead of creating a new body and inject it in the response, you can simply use the one in the new response.
https://github.com/middlewares/error-handler/blob/master/src/ErrorHandler.php#L78
you can simply do something like :
Am i missing something ?
The text was updated successfully, but these errors were encountered: