Skip to content

Commit f58a201

Browse files
committed
Fix toString() in respect to cognitoIdentity
1 parent 21d8357 commit f58a201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function toString() {
6565
" [logStreamName ] %s\n".
6666
" [region ] %s\n".
6767
" [clientContext ] %s\n".
68-
" [identity ] %s\n".
68+
" [cognitoIdentity ] %s\n".
6969
"}\n",
7070
nameof($this),
7171
$this->awsRequestId,
@@ -80,7 +80,7 @@ public function toString() {
8080
$this->logStreamName ?? '(null)',
8181
$this->region,
8282
$this->clientContext ?? '(null)',
83-
$this->identity ?? '(null)'
83+
$this->cognitoIdentity ?? '(null)'
8484
);
8585
}
8686

0 commit comments

Comments
 (0)