Skip to content

Commit

Permalink
Merge pull request #222 from Sleuthhound/patch-1
Browse files Browse the repository at this point in the history
Глобальная переменная в качестве параметра
  • Loading branch information
bzick committed May 4, 2016
2 parents 2d3c89e + bfb64f1 commit 9d1f0c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Fenom/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -1455,6 +1455,7 @@ public function parseArgs(Tokenizer $tokens)
if (!$arg && $tokens->is(
T_VARIABLE,
T_STRING,
"$",
"(",
Tokenizer::MACRO_SCALAR,
'"',
Expand Down Expand Up @@ -1544,4 +1545,4 @@ public function parseParams(Tokenizer $tokens, array $defaults = null)

return $params;
}
}
}

0 comments on commit 9d1f0c4

Please sign in to comment.