Skip to content

Commit bc05948

Browse files
committed
Fixed a bug for validating object variables during decoding
1 parent 68a9c11 commit bc05948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PE/Encoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ protected function _decodeNode($nodeName, $nodeData, EncoderOptions $options, En
276276

277277
$nodeIndex++;
278278
}
279-
$variableCollection->objectVariablesAreValidWithData($decodedChildren, true);
279+
$proxyNode->getVariableCollection()->objectVariablesAreValidWithData($decodedChildren, true);
280280

281281
if ($isSingleNode) {
282282
return $objects[0];

0 commit comments

Comments
 (0)