mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 04:24:43 +01:00
Fix getAttribute signature in Node interface
This fixes a build failure on PHP 5.2.
This commit is contained in:
parent
dab2fd4b7a
commit
93392c82e0
@ -64,7 +64,7 @@ interface PHPParser_Node
|
|||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function getAttribute($key, $default = null);
|
public function &getAttribute($key, $default = null);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all attributes for the given node.
|
* Returns all attributes for the given node.
|
||||||
|
Loading…
Reference in New Issue
Block a user