Skip to content

Commit 3db0127

Browse files
committed
Merge branch 'dto-serlialization' into extender-dtos
2 parents 5eb9294 + c4c6452 commit 3db0127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/AbstractDataValueObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected static function validateFromArrayData(array $data, array $requiredKeys
4646
$missingKeys = [];
4747

4848
foreach ($requiredKeys as $key) {
49-
if (!isset($data[$key])) {
49+
if (!array_key_exists($key, $data)) {
5050
$missingKeys[] = $key;
5151
}
5252
}

0 commit comments

Comments
 (0)