Skip to content

Commit 5f03135

Browse files
authored
fixed:table opts error (#14)
fixed:table opts error
2 parents 6be6009 + 9a7458f commit 5f03135

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Traits/FormatOutputAwareTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ public function panel(array $data, $title = 'Information panel', array $opts = [
192192
* @inheritdoc
193193
* @see Show::table()
194194
*/
195-
public function table(array $data, $title = 'Data Table', $showBorder = true): void
195+
public function table(array $data, $title = 'Data Table', array $opts = []): void
196196
{
197-
Show::table($data, $title, ['showBorder' => $showBorder]);
197+
Show::table($data, $title, $opts);
198198
}
199199

200200
/**

0 commit comments

Comments
 (0)