Skip to content

Commit ddf89e6

Browse files
authored
Add returnType documentation on paginated operation (#548)
* Add returnType documentation on paginated operation * Remove useless docblock in sample * Fix CS * Rebase * Remove useless 'uses' * Fix psalm issue
1 parent bbac525 commit ddf89e6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## 0.4.2
4+
5+
### Fixed
6+
7+
- Add return typehint for `listLayerVersions`
8+
39
## 0.4.1
410

511
### Changed

src/LambdaClient.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use AsyncAws\Lambda\Result\InvocationResponse;
1313
use AsyncAws\Lambda\Result\ListLayerVersionsResponse;
1414
use AsyncAws\Lambda\Result\PublishLayerVersionResponse;
15+
use AsyncAws\Lambda\ValueObject\LayerVersionsListItem;
1516

1617
class LambdaClient extends AbstractApi
1718
{
@@ -81,6 +82,8 @@ public function invoke($input): InvocationResponse
8182
* MaxItems?: int,
8283
* @region?: string,
8384
* }|ListLayerVersionsRequest $input
85+
*
86+
* @return \Traversable<LayerVersionsListItem> & ListLayerVersionsResponse
8487
*/
8588
public function listLayerVersions($input): ListLayerVersionsResponse
8689
{

0 commit comments

Comments
 (0)