fixed typo

This commit is contained in:
Fabien Potencier
2019-05-17 08:14:31 +02:00
parent 62748c9559
commit b086d4f4bb
+1 -1
View File
@@ -335,7 +335,7 @@ class Parser implements \Twig_ParserInterface
public function getImportedSymbol($type, $alias)
{
if (null !== $this->peekBlockStack()) {
foreach ($this->importedSymbols as $i => $functions) {
foreach ($this->importedSymbols as $functions) {
if (isset($functions[$type][$alias])) {
if (count($this->blockStack) > 1) {
return null;