File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
+ ## 0.2.1
4
+
5
+ ### Fixed
6
+
7
+ - Add return typehint for ` listTables ` , ` query ` and ` scan `
8
+
3
9
## 0.2.0
4
10
5
11
### Added
Original file line number Diff line number Diff line change 28
28
use AsyncAws \DynamoDb \Result \TableNotExistsWaiter ;
29
29
use AsyncAws \DynamoDb \Result \UpdateItemOutput ;
30
30
use AsyncAws \DynamoDb \Result \UpdateTableOutput ;
31
+ use AsyncAws \DynamoDb \ValueObject \AttributeValue ;
31
32
32
33
class DynamoDbClient extends AbstractApi
33
34
{
@@ -164,6 +165,8 @@ public function getItem($input): GetItemOutput
164
165
* Limit?: int,
165
166
* @region?: string,
166
167
* }|ListTablesInput $input
168
+ *
169
+ * @return \Traversable<string> & ListTablesOutput
167
170
*/
168
171
public function listTables ($ input = []): ListTablesOutput
169
172
{
@@ -230,6 +233,8 @@ public function putItem($input): PutItemOutput
230
233
* ExpressionAttributeValues?: array<string, \AsyncAws\DynamoDb\ValueObject\AttributeValue>,
231
234
* @region?: string,
232
235
* }|QueryInput $input
236
+ *
237
+ * @return \Traversable<array<string, AttributeValue>> & QueryOutput
233
238
*/
234
239
public function query ($ input ): QueryOutput
235
240
{
@@ -264,6 +269,8 @@ public function query($input): QueryOutput
264
269
* ConsistentRead?: bool,
265
270
* @region?: string,
266
271
* }|ScanInput $input
272
+ *
273
+ * @return \Traversable<array<string, AttributeValue>> & ScanOutput
267
274
*/
268
275
public function scan ($ input ): ScanOutput
269
276
{
You can’t perform that action at this time.
0 commit comments