mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-30 04:29:15 +01:00
Tweak coding style
This commit is contained in:
parent
632ead3a82
commit
b5234eacd0
@ -826,8 +826,8 @@ abstract class PrettyPrinterAbstract
|
|||||||
|
|
||||||
// We go multiline if the original code was multiline,
|
// We go multiline if the original code was multiline,
|
||||||
// or if it's an array item with a comment above it.
|
// or if it's an array item with a comment above it.
|
||||||
if ($insertStr === ', ' && (
|
if ($insertStr === ', ' &&
|
||||||
$this->isMultiline($origNodes) || !empty($arrItem->getAttribute('comments')))
|
($this->isMultiline($origNodes) || $arrItem->getComments())
|
||||||
) {
|
) {
|
||||||
$insertStr = ',';
|
$insertStr = ',';
|
||||||
$insertNewline = true;
|
$insertNewline = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user