-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
breaking-changeThe related changes are breaking for the usersThe related changes are breaking for the users
Milestone
Description
The HTTP Client and Contract interface need more specific return types and PHPDoc annotations.
Files & Actions:
-
src/Http/Client.phpexecute(RequestInterface $request, array $headers = []): Add return type: mixedor PHPDoc@return array|null.parseResponse(ResponseInterface $response): Add return type: mixedor PHPDoc@return array|null.buildQueryString(array $queryParams = []): Add PHPDoc@param array<string, mixed> $queryParams.
-
src/Contracts/Http.php- Update
get(and similar methods) to include PHPDoc:
@param array<string, scalar|list<scalar>> $query
- Update
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking-changeThe related changes are breaking for the usersThe related changes are breaking for the users