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 d8f9a25 commit 382065bCopy full SHA for 382065b
src/Symfony/Bridge/Twig/NodeVisitor/TranslationNodeVisitor.php
@@ -153,7 +153,7 @@ private function getReadDomainFromNode(Node $node): ?string
153
private function getConcatValueFromNode(Node $node, ?string $value): ?string
154
{
155
if ($node instanceof ConcatBinary) {
156
- foreach ($node->getIterator() as $nextNode) {
+ foreach ($node as $nextNode) {
157
if ($nextNode instanceof ConcatBinary) {
158
$nextValue = $this->getConcatValueFromNode($nextNode, $value);
159
if (null === $nextValue) {
0 commit comments