From 75e43dd277f9b092b259192528110c8087988685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huchet?= Date: Sat, 16 Jun 2018 10:04:58 +0200 Subject: [PATCH] Update LaravelLogViewer.php --- src/Rap2hpoutre/LaravelLogViewer/LaravelLogViewer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rap2hpoutre/LaravelLogViewer/LaravelLogViewer.php b/src/Rap2hpoutre/LaravelLogViewer/LaravelLogViewer.php index 85ec6f5..9f01146 100644 --- a/src/Rap2hpoutre/LaravelLogViewer/LaravelLogViewer.php +++ b/src/Rap2hpoutre/LaravelLogViewer/LaravelLogViewer.php @@ -158,7 +158,7 @@ public static function all() } } - if (!$log) { + if (empty($log)) { $lines = explode(PHP_EOL, $file); $log = [];