changed Response status code type to string

As stated by \GuzzleHttp\Message\Response, the getStatusCode returns a string.