mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 07:08:14 +01:00
Fix labelCharMap for DEL character
This map is supposed to have string keys, not integer keys.
This commit is contained in:
parent
a5d4c1005c
commit
74caed6446
@ -1249,7 +1249,7 @@ abstract class PrettyPrinterAbstract implements PrettyPrinter {
|
||||
}
|
||||
|
||||
if ($this->phpVersion->allowsDelInIdentifiers()) {
|
||||
$this->labelCharMap[0x7f] = true;
|
||||
$this->labelCharMap["\x7f"] = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user