-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
documentationThis is a problem with documentation.This is a problem with documentation.p3This is a minor priority issueThis is a minor priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog
Description
Describe the issue
The LambdaClient::invokeAsync method has two type definitions, the second of which appears to be incorrect and overrides the first.
As I understand the SDK, invokeAsync
should return a Promise, but the API docs say it returns a Result. This causes warnings when combined with PHPStan or other type checking tools.
Links
https://github.com/aws/aws-sdk-php/blob/master/src/Lambda/LambdaClient.php#L80-L81
Metadata
Metadata
Assignees
Labels
documentationThis is a problem with documentation.This is a problem with documentation.p3This is a minor priority issueThis is a minor priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog