Skip to content

Commit 69e2bf9

Browse files
committed
Fix "Creation of dynamic property" warnings in PHP 8.2
1 parent b8577c0 commit 69e2bf9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ AWS Lambda change log
33

44
## ?.?.? / ????-??-??
55

6+
## 4.0.1 / 2022-02-26
7+
8+
* Fixed "Creation of dynamic property" warnings in PHP 8.2 - @thekid
9+
610
## 4.0.0 / 2021-11-23
711

812
This major release upgrades the base image used to compile the runtime

src/main/php/com/amazon/aws/lambda/Environment.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* @test com.amazon.aws.lambda.unittest.EnvironmentTest
1313
*/
1414
class Environment {
15-
public $root, $writer, $properties;
15+
public $root, $variables, $writer, $properties;
1616

1717
/** Creates a new environment */
1818
public function __construct(string $root, StringWriter $writer= null, array $variables= null) {

0 commit comments

Comments
 (0)