Skip to content

Commit

Permalink
fixed:table opts error (#14)
Browse files Browse the repository at this point in the history
fixed:table opts error
  • Loading branch information
inhere authored Oct 18, 2019
2 parents 6be6009 + 9a7458f commit 5f03135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/FormatOutputAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ public function panel(array $data, $title = 'Information panel', array $opts = [
* @inheritdoc
* @see Show::table()
*/
public function table(array $data, $title = 'Data Table', $showBorder = true): void
public function table(array $data, $title = 'Data Table', array $opts = []): void
{
Show::table($data, $title, ['showBorder' => $showBorder]);
Show::table($data, $title, $opts);
}

/**
Expand Down

0 comments on commit 5f03135

Please sign in to comment.