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 ab3d2bd commit 4170f61Copy full SHA for 4170f61
Translation/TwigExtractor.php
@@ -54,8 +54,7 @@ public function __construct(Environment $twig)
54
*/
55
public function extract($resource, MessageCatalogue $catalogue)
56
{
57
- $files = $this->extractFiles($resource);
58
- foreach ($files as $file) {
+ foreach ($this->extractFiles($resource) as $file) {
59
try {
60
$this->extractTemplate(file_get_contents($file->getPathname()), $catalogue);
61
} catch (Error $e) {
0 commit comments