diff --git a/framework/console/widgets/Table.php b/framework/console/widgets/Table.php index c73ccef147..3c05027600 100644 --- a/framework/console/widgets/Table.php +++ b/framework/console/widgets/Table.php @@ -32,13 +32,13 @@ use yii\helpers\Console; * or * * ```php - * echo Table::widget( + * echo Table::widget([ * 'headers' => ['test1', 'test2', 'test3'], * 'rows' => [ * ['col1', 'col2', 'col3'], * ['col1', 'col2', ['col3-0', 'col3-1', 'col3-2']], * ], - * ); + * ]); * * @author Daniel Gomez Pan * @since 2.0.13