Skip to content

Commit e72a21d

Browse files
emyllerclaude
andcommitted
Update engine-test-data to v3.4.1
Co-authored-by: Claude <noreply@anthropic.com>
1 parent e19a7c2 commit e72a21d

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "tests/Engine/EngineTests/EngineTestData"]
22
path = tests/Engine/EngineTests/EngineTestData
33
url = git@github.com:Flagsmith/engine-test-data.git
4-
tag = v3.3.0
4+
tag = v3.4.1

src/Engine/Utils/Types/Context/EvaluationContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static function fromJsonObject($jsonContext)
3030

3131
if (!empty($jsonContext->identity)) {
3232
$context->identity = new IdentityContext();
33-
$context->identity->key = $jsonContext->identity->key;
33+
$context->identity->key = $jsonContext->identity->key ?? null;
3434
$context->identity->identifier = $jsonContext->identity->identifier;
3535
$context->identity->traits = (array) ($jsonContext->identity->traits ?? []);
3636
}

src/Engine/Utils/Types/Context/IdentityContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class IdentityContext
66
{
7-
/** @var string */
7+
/** @var ?string */
88
public $key;
99

1010
/** @var string */

0 commit comments

Comments
 (0)