mirror of
https://github.com/filp/whoops.git
synced 2026-09-01 21:18:04 +00:00
Minor fixes
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -22,7 +22,7 @@
|
||||
|
||||
// the $line is 1-indexed, we nab -1 where needed to account for this
|
||||
$range = $frame->getFileLines($line - 8, 10);
|
||||
|
||||
|
||||
// getFileLines can return null if there is no source code
|
||||
if ($range):
|
||||
$range = array_map(function($line){ return empty($line) ? ' ' : $line;}, $range);
|
||||
@@ -34,7 +34,7 @@
|
||||
<?php endif ?>
|
||||
|
||||
<?php
|
||||
// Append comments for this frame */
|
||||
// Append comments for this frame
|
||||
$comments = $frame->getComments();
|
||||
?>
|
||||
<div class="frame-comments <?php echo empty($comments) ? 'empty' : '' ?>">
|
||||
|
||||
Reference in New Issue
Block a user