Skip to content

Commit 6ef1296

Browse files
committed
Update parser token constant values to ints instead of strings
1 parent e03361c commit 6ef1296

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Types/ContextFactory.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
use const T_USE;
5050

5151
if (!defined('T_NAME_QUALIFIED')) {
52-
define('T_NAME_QUALIFIED', 'T_NAME_QUALIFIED');
52+
define('T_NAME_QUALIFIED', 10001);
5353
}
5454

5555
if (!defined('T_NAME_FULLY_QUALIFIED')) {
56-
define('T_NAME_FULLY_QUALIFIED', 'T_NAME_FULLY_QUALIFIED');
56+
define('T_NAME_FULLY_QUALIFIED', 10002);
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)