mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-29 11:37:56 +00:00
fixed macro auto-import
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
* 2.11.2 (2019-XX-XX)
|
||||
|
||||
* n/a
|
||||
* fixed macro auto-import
|
||||
|
||||
* 2.11.1 (2019-06-04)
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ final class MacroAutoImportNodeVisitor implements NodeVisitorInterface
|
||||
{
|
||||
if ($node instanceof ModuleNode) {
|
||||
$this->inAModule = true;
|
||||
$this->hasMacroCalls = false;
|
||||
}
|
||||
|
||||
return $node;
|
||||
|
||||
Reference in New Issue
Block a user