Fix getAttribute signature in Node interface

This fixes a build failure on PHP 5.2.
This commit is contained in:
nikic 2012-05-11 18:48:23 +02:00
parent dab2fd4b7a
commit 93392c82e0

View File

@ -64,7 +64,7 @@ interface PHPParser_Node
*
* @return mixed
*/
public function getAttribute($key, $default = null);
public function &getAttribute($key, $default = null);
/**
* Returns all attributes for the given node.