Skip to content

Commit 8f9b9b6

Browse files
committed
Reverted last commit as we already only use linux style new lines everywhere
1 parent bb39dff commit 8f9b9b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Printer/ArrayPrinter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ protected function pStmt_Return(Stmt\Return_ $node): string
155155
count($previousTokens) > 1
156156
&& $previousTokens[1]->id === T_WHITESPACE
157157
&& $previousTokens[0]->id !== T_WHITESPACE
158-
&& $previousTokens[1]->text === PHP_EOL . PHP_EOL
159-
) ? PHP_EOL : '';
158+
&& $previousTokens[1]->text === "\n\n"
159+
) ? "\n" : '';
160160

161161
return $prefix . 'return' . (null !== $node->expr ? ' ' . $this->p($node->expr) : '') . ';';
162162
}

0 commit comments

Comments
 (0)