Skip to content

Commit

Permalink
Update LaravelLogViewer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rap2hpoutre authored Jun 16, 2018
1 parent 52c6a91 commit 75e43dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rap2hpoutre/LaravelLogViewer/LaravelLogViewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static function all()
}
}

if (!$log) {
if (empty($log)) {

$lines = explode(PHP_EOL, $file);
$log = [];
Expand Down

0 comments on commit 75e43dd

Please sign in to comment.