Fix output type of http response
I faced two errors when working with http\Response:
1- when I call the getHeaders
method, It returns null not array!
2- when I call the getBody()
it returns null
, but the return type is string
I faced two errors when working with http\Response:
1- when I call the getHeaders
method, It returns null not array!
2- when I call the getBody()
it returns null
, but the return type is string