We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7fb8c4 commit 92423e7Copy full SHA for 92423e7
src/Symfony/Component/Config/Definition/PrototypedArrayNode.php
@@ -257,7 +257,7 @@ protected function normalizeValue($value)
257
if (array_keys($v) === array('value')) {
258
$v = $v['value'];
259
if ($this->prototype instanceof ArrayNode && ($children = $this->prototype->getChildren()) && array_key_exists('value', $children)) {
260
- $valuePrototype = current($this->valuePrototypes) ?: clone($children['value']);
+ $valuePrototype = current($this->valuePrototypes) ?: clone $children['value'];
261
$valuePrototype->parent = $this;
262
$originalClosures = $this->prototype->normalizationClosures;
263
if (is_array($originalClosures)) {
0 commit comments