Skip to content

Commit 9dfc088

Browse files
committed
Fixed missing component name in namespaces
1 parent b7a03f8 commit 9dfc088

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/console/helpers/table.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ When building a console application it may be useful to display tabular data:
2424
To display a table, use :class:`Symfony\\Component\\Console\\Helper\\Table`,
2525
set the headers, set the rows and then render the table::
2626

27-
use Symfony\Component\Helper\Table;
27+
use Symfony\Component\Console\Helper\Table;
2828

2929
$table = new Table($output);
3030
$table
@@ -41,7 +41,7 @@ set the headers, set the rows and then render the table::
4141
You can add a table separator anywhere in the output by passing an instance of
4242
:class:`Symfony\\Component\\Console\\Helper\\TableSeparator` as a row::
4343

44-
use Symfony\Component\Helper\TableSeparator;
44+
use Symfony\Component\Console\Helper\TableSeparator;
4545

4646
$table->setRows(array(
4747
array('99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'),
@@ -103,7 +103,7 @@ which outputs:
103103
104104
If the built-in styles do not fit your need, define your own::
105105

106-
use Symfony\Component\Helper\TableStyle;
106+
use Symfony\Component\Console\Helper\TableStyle;
107107

108108
// by default, this is based on the default style
109109
$style = new TableStyle();

0 commit comments

Comments
 (0)