mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2025-01-22 05:11:39 +01:00
[CS] Trim whitespaces inside arrays
This commit is contained in:
parent
a8968caa5b
commit
fc8ac71e76
@ -61,7 +61,7 @@ class String_ extends Scalar
|
||||
if ('\'' === $str[$bLength]) {
|
||||
return str_replace(
|
||||
['\\\\', '\\\''],
|
||||
[ '\\', '\''],
|
||||
['\\', '\''],
|
||||
substr($str, $bLength + 1, -1)
|
||||
);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user