diff options
Diffstat (limited to 'scripts/generate_rules.php')
| -rw-r--r-- | scripts/generate_rules.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_rules.php b/scripts/generate_rules.php index 68936ad..b988789 100644 --- a/scripts/generate_rules.php +++ b/scripts/generate_rules.php | |||
| @@ -41,7 +41,7 @@ foreach($objects as $name => $object){ | |||
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | foreach(token_get_all($file_content) as $token) { | 43 | foreach(token_get_all($file_content) as $token) { |
| 44 | if ($token[0] != 319) { | 44 | if ($token[0] !== T_STRING) { |
| 45 | continue; | 45 | continue; |
| 46 | } | 46 | } |
| 47 | 47 | ||
