mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-10 17:36:53 +00:00
fixed typo
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user