You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/console/helpers/table.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,9 +68,9 @@ You can add a table separator anywhere in the output by passing an instance of
68
68
69
69
The width of the columns are automatically set using the width of their contents by default. You can change this behavior via :method:`Symfony\\Component\\Console\\Helper\\Table::setColumnWidths`::
70
70
71
-
// Sets the left column to 10 characters, the middle to auto and the right to 30 characters.
72
-
// The left column will effectively be 13 characters, as the columns content don't fit 10.
73
-
$table->setColumnWidths(array(10, 'auto', 30));
71
+
// Sets the left column to 10 characters, the middle to 0, and the right to 30 characters.
72
+
// The left two columns will effectively be 13 and 24 characters, as the columns' content don't fit within the set values.
0 commit comments