Skip to content

Commit fd12a43

Browse files
sebpaczwouterj
authored andcommitted
[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 fd12a43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/console/helpers/table.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ If the built-in styles do not fit your need, define your own::
233233

234234
// customizes the style
235235
$tableStyle
236-
->setDefaultCrossingChars('<fg=magenta>|</>')
236+
->setHorizontalBorderChars('<fg=magenta>|</>')
237237
->setVerticalBorderChars('<fg=magenta>-</>')
238238
->setDefaultCrossingChar(' ')
239239
;
@@ -244,7 +244,7 @@ If the built-in styles do not fit your need, define your own::
244244
Here is a full list of things you can customize:
245245

246246
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setPaddingChar`
247-
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setDefaultCrossingChars`
247+
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setHorizontalBorderChars`
248248
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setVerticalBorderChars`
249249
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setCrossingChars`
250250
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setDefaultCrossingChar`

0 commit comments

Comments
 (0)