Fixed path for finalization errors when using a prototype
This commit is contained in:
parent
3cbbd66d33
commit
fc9ff68052
@ -293,6 +293,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
|
|||||||
|
|
||||||
if (null !== $this->prototype) {
|
if (null !== $this->prototype) {
|
||||||
foreach ($value as $k => $v) {
|
foreach ($value as $k => $v) {
|
||||||
|
$this->prototype->setName($k);
|
||||||
try {
|
try {
|
||||||
$value[$k] = $this->prototype->finalize($v);
|
$value[$k] = $this->prototype->finalize($v);
|
||||||
} catch (UnsetKeyException $unset) {
|
} catch (UnsetKeyException $unset) {
|
||||||
|
Reference in New Issue
Block a user