Skip to content

Commit

Permalink
bug #3054 Fix typo (fabpot)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.x branch.

Discussion
----------

Fix typo

closes #3051

Commits
-------

57c5130 fixed macro auto-import
  • Loading branch information
fabpot committed Jun 5, 2019
2 parents 5a1e33d + 57c5130 commit 95212c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG
@@ -1,6 +1,6 @@
* 2.12.0 (2019-XX-XX)

* n/a
* fixed macro auto-import

* 2.11.1 (2019-06-04)

Expand Down
1 change: 1 addition & 0 deletions src/NodeVisitor/MacroAutoImportNodeVisitor.php
Expand Up @@ -33,6 +33,7 @@ public function enterNode(Node $node, Environment $env)
{
if ($node instanceof ModuleNode) {
$this->inAModule = true;
$this->hasMacroCalls = false;
}

return $node;
Expand Down

0 comments on commit 95212c9

Please sign in to comment.