mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 11:27:00 +00:00
fixed typo
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ class Twig_Node implements Twig_NodeInterface, ArrayAccess, Countable, IteratorA
|
||||
*/
|
||||
public function offsetExists($name)
|
||||
{
|
||||
return $this->attributes[$name];
|
||||
return array_key_exists($name, $this->attributes);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user