Skip to content

Commit 81d633b

Browse files
committed
bug #14645 [Console] Update table.rst (sebpacz)
This PR was merged into the 4.4 branch. Discussion ---------- [Console] Update table.rst The Symfony\Component\Console\Helper\TableStyle class doesn't have the setDefaultCrossingChars method. I removed all references to this method. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- fd12a43 [Console] Update table.rst
2 parents 4d256ff + fd12a43 commit 81d633b

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)