fixed CS
This commit is contained in:
parent
a7fb8c4112
commit
92423e77ac
@ -257,7 +257,7 @@ class PrototypedArrayNode extends ArrayNode
|
|||||||
if (array_keys($v) === array('value')) {
|
if (array_keys($v) === array('value')) {
|
||||||
$v = $v['value'];
|
$v = $v['value'];
|
||||||
if ($this->prototype instanceof ArrayNode && ($children = $this->prototype->getChildren()) && array_key_exists('value', $children)) {
|
if ($this->prototype instanceof ArrayNode && ($children = $this->prototype->getChildren()) && array_key_exists('value', $children)) {
|
||||||
$valuePrototype = current($this->valuePrototypes) ?: clone($children['value']);
|
$valuePrototype = current($this->valuePrototypes) ?: clone $children['value'];
|
||||||
$valuePrototype->parent = $this;
|
$valuePrototype->parent = $this;
|
||||||
$originalClosures = $this->prototype->normalizationClosures;
|
$originalClosures = $this->prototype->normalizationClosures;
|
||||||
if (is_array($originalClosures)) {
|
if (is_array($originalClosures)) {
|
||||||
|
Reference in New Issue
Block a user