@@ 99-101 (lines=3) @@ | ||
96 | return ''; |
|
97 | } |
|
98 | ||
99 | if (null === $locale) { |
|
100 | return $this->multilineRemoveIndent((string)$element, 'true' === (string)$element->attributes()['removeIndent']); |
|
101 | } |
|
102 | ||
103 | foreach ($element as $node) { |
|
104 | if ($locale == (string)$node->attributes()['locale']) { |
|
@@ 104-106 (lines=3) @@ | ||
101 | } |
|
102 | ||
103 | foreach ($element as $node) { |
|
104 | if ($locale == (string)$node->attributes()['locale']) { |
|
105 | return $this->multilineRemoveIndent((string)$node, 'true' === (string)$node->attributes()['removeIndent']); |
|
106 | } |
|
107 | } |
|
108 | ||
109 | $message = sprintf('Locale "%s" not available in node "%s".', $locale, $element->getName()); |