Skip to content

Commit a5471b3

Browse files
committed
minor symfony#3775 Fixed variable naming (peterrehm)
This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes symfony#3775). Discussion ---------- Fixed variable naming Changed $app into $this since this is used in the other helpers as well and $app is not available inside a console command. | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3+ | Fixed tickets | - Commits ------- 66581a6 Fixed variable naming
2 parents 703c2a6 + cadcca9 commit a5471b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/helpers/tablehelper.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ When building a console application it may be useful to display tabular data:
1414
To display a table, use the :class:`Symfony\\Component\\Console\\Helper\\TableHelper`,
1515
set headers, rows and render::
1616

17-
$table = $app->getHelperSet()->get('table');
17+
$table = $this->getHelperSet()->get('table');
1818
$table
1919
->setHeaders(array('ISBN', 'Title', 'Author'))
2020
->setRows(array(

0 commit comments

Comments
 (0)