1
0
Fork 0

PHP 7.0 compatibility

pull/609/head
Declspeck 2018-02-25 00:59:20 +02:00
parent 77345799f5
commit 29fd70a5bc
No known key found for this signature in database
GPG Key ID: F0417663122A2189
1 changed files with 3 additions and 3 deletions

View File

@ -22,17 +22,17 @@ class TreeTraverser
/**
* Descend into the node being parsed. The default action.
*/
public const ACTION_CONTINUE = 0;
const ACTION_CONTINUE = 0;
/**
* Do not descend into the node being parsed. Traversal will continue after the node.
*/
public const ACTION_SKIP = 1;
const ACTION_SKIP = 1;
/**
* Stop parsing entirely. `traverse` will return immediately.
*/
public const ACTION_END = 2;
const ACTION_END = 2;
private $definitionResolver;