File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
main/php/com/amazon/aws/lambda
test/php/com/amazon/aws/lambda/unittest Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ public class com.amazon.aws.lambda.Environment {
216216 public function path(string $path): io.Path
217217 public function tempDir(): io.Path
218218 public function variable(string $name): ?string
219- public function credentials(): com.amazon.aws.lambda. Credentials
219+ public function credentials(): com.amazon.aws.Credentials
220220 public function trace(var... $args): void
221221 public function properties(string $name): util.PropertyAccess
222222}
Original file line number Diff line number Diff line change 99 "xp-framework/core" : " ^11.0 | ^10.14" ,
1010 "xp-framework/http" : " ^10.0 | ^9.0" ,
1111 "xp-framework/zip" : " ^10.0 | ^9.0" ,
12+ "xp-forge/asw" : " dev-main as 1.0.0" ,
1213 "xp-forge/json" : " ^5.0 | ^4.0" ,
1314 "php" : " >=7.0.0"
1415 },
Original file line number Diff line number Diff line change 11<?php namespace com \amazon \aws \lambda ;
22
3+ use com \amazon \aws \Credentials ;
34use io \Path ;
45use io \streams \StringWriter ;
56use lang \{ElementNotFoundException , Environment as System };
@@ -50,7 +51,7 @@ public function variable($name) {
5051 /**
5152 * Returns credentials from this environment
5253 *
53- * @return com.amazon.aws.lambda. Credentials
54+ * @return com.amazon.aws.Credentials
5455 */
5556 public function credentials () {
5657 return new Credentials (
Original file line number Diff line number Diff line change 11<?php namespace com \amazon \aws \lambda \unittest ;
22
3- use com \amazon \aws \lambda \{Environment , Credentials };
3+ use com \amazon \aws \Credentials ;
4+ use com \amazon \aws \lambda \Environment ;
45use io \streams \{MemoryOutputStream , StringWriter };
56use io \{File , Files , Path };
67use lang \ElementNotFoundException ;
You can’t perform that action at this time.
0 commit comments