msgraph-sdk-php
msgraph-sdk-php copied to clipboard
`getStatusCode()` of `GraphResponse` has wrong type
In https://github.com/microsoftgraph/msgraph-sdk-php/blob/b7bc52153b44d9c3db60d4b8805ece42c4e1268f/src/Http/GraphResponse.php#L54 the return type is documetned as "string". As it comes (more or less) directly from Psr\Http\Message\ResponseInterface, it should be documented as "int". (see https://github.com/php-fig/http-message/blob/master/src/ResponseInterface.php#L30)