File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -44,28 +44,36 @@ class Execute
4444 */
4545 public $ parallelWaitTime = 200000 ;
4646
47- public function __construct (?OutputInterface $ output = null , ?ProcessHelper $ helper = null )
47+ /**
48+ * TODO: Add nullable type declaration for params when we switch to php 7.1.
49+ *
50+ * @param OutputInterface|null $output
51+ * @param ProcessHelper|null $helper
52+ */
53+ public function __construct ($ output = null , $ helper = null )
4854 {
4955 $ this ->setOutput ($ output );
5056 $ this ->setHelper ($ helper );
5157 }
5258
5359 /**
5460 * Output setter.
61+ * TODO: Add nullable type declaration for param when we switch to php 7.1.
5562 *
5663 * @param OutputInterface|null $output
5764 */
58- public function setOutput (? OutputInterface $ output )
65+ public function setOutput ($ output )
5966 {
6067 $ this ->output = $ output ?? new NullOutput ();
6168 }
6269
6370 /**
6471 * Process helper setter.
72+ * TODO: Add nullable type declaration for param when we switch to php 7.1.
6573 *
66- * @param OutputInterface |null $output
74+ * @param ProcessHelper |null $helper
6775 */
68- public function setHelper (? ProcessHelper $ helper )
76+ public function setHelper ($ helper )
6977 {
7078 if (empty ($ helper )) {
7179 $ helper = new ProcessHelper ();
You can’t perform that action at this time.
0 commit comments