Skip to content

Commit 93c9135

Browse files
authored
chore:
1 parent dc4ce15 commit 93c9135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Yii2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ public function _backupSession(): array
848848
return [
849849
'clientContext' => $this->getClient()->getContext(),
850850
'headers' => $this->headers,
851-
'cookie' => $_COOKIE,
851+
'cookie' => $_COOKIE ?? [],
852852
'session' => $_SESSION ?? [],
853853
];
854854
}

0 commit comments

Comments
 (0)