Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ada9a58

Browse files
committed
Fix PHP Fatal error: Cannot call constructor in symfony/console/Symfony/Component/Console/Helper/DialogHelper.php on line 37
1 parent 9c6b377 commit ada9a58

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Symfony/Component/Console/Helper/DialogHelper.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ class DialogHelper extends InputAwareHelper
3030
private static $shell;
3131
private static $stty;
3232

33-
public function __construct()
34-
{
35-
trigger_error('DialogHelper is deprecated since version 2.5 and will be removed in 3.0. Use QuestionHelper instead.', E_USER_DEPRECATED);
36-
37-
parent::__construct();
38-
}
3933
/**
4034
* Asks the user to select a value.
4135
*

0 commit comments

Comments
 (0)