Skip to content

Commit e055f46

Browse files
authored
[Console] Update table.rst
The Symfony\Component\Console\Helper\TableStyle class doesn't have the setDefaultCrossingChars method, but there is the setCrossingChars method. The setCrossingChars method takes at least 9 parameters, so I think it would be difficult to present it in the example instead of the setDefaultCrossingChars method. In this commit, I removed all references to the method that doesn't exist.
1 parent 294a08d commit e055f46

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

components/console/helpers/table.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ If the built-in styles do not fit your need, define your own::
233233

234234
// customizes the style
235235
$tableStyle
236-
->setDefaultCrossingChars('<fg=magenta>|</>')
237236
->setVerticalBorderChars('<fg=magenta>-</>')
238237
->setDefaultCrossingChar(' ')
239238
;
@@ -244,7 +243,6 @@ If the built-in styles do not fit your need, define your own::
244243
Here is a full list of things you can customize:
245244

246245
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setPaddingChar`
247-
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setDefaultCrossingChars`
248246
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setVerticalBorderChars`
249247
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setCrossingChars`
250248
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setDefaultCrossingChar`

0 commit comments

Comments
 (0)