Skip to content

Commit

Permalink
@include adding extra space/line break to content laravel#27996
Browse files Browse the repository at this point in the history
incorrect code style fix
  • Loading branch information
bzixilu committed Apr 3, 2019
1 parent 77f8b2d commit 3b00362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/Engines/PhpEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function evaluatePath($__path, $__data)
if ($count > 0) {
$last_line = $lines[$count - 1];
if (Str::startsWith($last_line, '<?php /*') && Str::endsWith($last_line, '*/ ?>')) {
$ob_get_clean = Str::replaceLast('\n', '', $ob_get_clean);
$ob_get_clean = Str::replaceLast("\n", '', $ob_get_clean);
}
}

Expand Down

0 comments on commit 3b00362

Please sign in to comment.