Skip to content

Commit bbcbeac

Browse files
committed
Do not show table if first instance value is empty
1 parent 664c56e commit bbcbeac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Debug/ConfigCollector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected function getTable() : string
8686
<td rowspan="<?= $count ?>"><?= $config['name'] ?></td>
8787
<td><?= $config['instances'][0]['name'] ?></td>
8888
<td rowspan="1">
89-
89+
<?php if (!empty($config['instances'][0]['values'])): ?>
9090
<table>
9191
<thead>
9292
<tr>
@@ -103,7 +103,7 @@ protected function getTable() : string
103103
<?php endforeach ?>
104104
</tbody>
105105
</table>
106-
106+
<?php endif ?>
107107
</td>
108108
<td rowspan="<?= \count($config['instances']) ?>">
109109
<?php

0 commit comments

Comments
 (0)