We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 089f4c5 commit 8c43b35Copy full SHA for 8c43b35
1 file changed
src/Services/Analyzer.php
@@ -188,12 +188,15 @@ protected function parseLogs()
188
}
189
190
191
- $result_data[] = $table;
192
- $this->data[] = [
193
- 'start_time' => new DateTime($result['start_time']),
194
- 'end_time' => new DateTime($result['end_time']),
195
- 'log' => $result_data
196
- ];
+ if (isset($table)) {
+ $result_data[] = $table;
+ $this->data[] = [
+ 'start_time' => new DateTime($result['start_time']),
+ 'end_time' => new DateTime($result['end_time']),
+ 'log' => $result_data
197
+ ];
198
+
199
+ }
200
201
202
$this->tables = array_unique($this->tables);
0 commit comments