Skip to content

Commit

Permalink
explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacePossum committed Oct 8, 2019
1 parent 4307ed7 commit 0d592e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fixer/Whitespace/HeredocIndentationFixer.php
Expand Up @@ -110,7 +110,7 @@ private function fixIndentation(Tokens $tokens, $start, $end)

$content = $tokens[$index]->getContent();

if ($currentIndent) {
if ('' !== $currentIndent) {
$content = Preg::replace('/(?<=\v)(?!'.$currentIndent.')[ \t]+/', '', $content);
}

Expand Down

0 comments on commit 0d592e5

Please sign in to comment.