1
0
Fork 0
mirror of synced 2025-04-18 16:41:02 +00:00

fixed deserializer bug

This commit is contained in:
Sergey Chazov 2021-06-11 15:39:14 +03:00 committed by Neur0toxine
parent e3c7047078
commit 50353bb810

View file

@ -58,7 +58,7 @@ class TypedArrayStrategy implements DeserializeStrategyInterface
$result[$deserializedKey] = StrategyFactory::deserializeStrategyByType($valueType)->deserialize(
$valueType,
$value[$key],
count($value[$key]) > 1 ? $value[$key] : $value,
new PropertyAnnotations()
);
}