Skip to content

Commit

Permalink
Fix bad code spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Jan 21, 2019
1 parent 29e0498 commit ae18154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Phug/Renderer/Partial/Debug/DebuggerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private function getErrorMessage($error, SourceLocation $location, $data)
$contextLines = $data->options['error_context_lines'];
$code = '';
$sourceOffset = max(0, $line - 1);
$untilOffset = isset($source[$sourceOffset]) ? (mb_substr($source[$sourceOffset] , 0, $offset ?: 0) ?: '') : '';
$untilOffset = isset($source[$sourceOffset]) ? (mb_substr($source[$sourceOffset], 0, $offset ?: 0) ?: '') : '';
$htmlError = $data->options['html_error'];
$start = null;
foreach ($source as $index => $lineText) {
Expand Down

0 comments on commit ae18154

Please sign in to comment.