LambdaClient::invokeAsync type incorrect #3004
Labels
documentation
This is a problem with documentation.
p3
This is a minor priority issue
queued
This issues is on the AWS team's backlog
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
The text was updated successfully, but these errors were encountered: