Skip to content

Commit 2734511

Browse files
committed
Update dialoghelper.rst
Consistent use of $this->getHelperSet()
1 parent 6d00c3d commit 2734511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/helpers/dialoghelper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Instead, you can use the
185185
method, which makes sure that the user can only enter a valid string
186186
from a predefined list::
187187

188-
$dialog = $app->getHelperSet()->get('dialog');
188+
$dialog = $this->getHelperSet()->get('dialog');
189189
$colors = array('red', 'blue', 'yellow');
190190

191191
$color = $dialog->select(

0 commit comments

Comments
 (0)