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 11# Change Log
22
3+ ## 0.2.1
4+
5+ ### Fixed
6+
7+ - Add return typehint for ` listTables ` , ` query ` and ` scan `
8+
39## 0.2.0
410
511### Added
Original file line number Diff line number Diff line change 2828use AsyncAws \DynamoDb \Result \TableNotExistsWaiter ;
2929use AsyncAws \DynamoDb \Result \UpdateItemOutput ;
3030use AsyncAws \DynamoDb \Result \UpdateTableOutput ;
31+ use AsyncAws \DynamoDb \ValueObject \AttributeValue ;
3132
3233class DynamoDbClient extends AbstractApi
3334{
@@ -164,6 +165,8 @@ public function getItem($input): GetItemOutput
164165 * Limit?: int,
165166 * @region?: string,
166167 * }|ListTablesInput $input
168+ *
169+ * @return \Traversable<string> & ListTablesOutput
167170 */
168171 public function listTables ($ input = []): ListTablesOutput
169172 {
@@ -230,6 +233,8 @@ public function putItem($input): PutItemOutput
230233 * ExpressionAttributeValues?: array<string, \AsyncAws\DynamoDb\ValueObject\AttributeValue>,
231234 * @region?: string,
232235 * }|QueryInput $input
236+ *
237+ * @return \Traversable<array<string, AttributeValue>> & QueryOutput
233238 */
234239 public function query ($ input ): QueryOutput
235240 {
@@ -264,6 +269,8 @@ public function query($input): QueryOutput
264269 * ConsistentRead?: bool,
265270 * @region?: string,
266271 * }|ScanInput $input
272+ *
273+ * @return \Traversable<array<string, AttributeValue>> & ScanOutput
267274 */
268275 public function scan ($ input ): ScanOutput
269276 {
You can’t perform that action at this time.
0 commit comments