File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 20
20
*/
21
21
class HelperSet implements \IteratorAggregate
22
22
{
23
- private $ helpers ;
23
+ private $ helpers = array () ;
24
24
private $ command ;
25
25
26
26
/**
@@ -30,7 +30,6 @@ class HelperSet implements \IteratorAggregate
30
30
*/
31
31
public function __construct (array $ helpers = array ())
32
32
{
33
- $ this ->helpers = array ();
34
33
foreach ($ helpers as $ alias => $ helper ) {
35
34
$ this ->set ($ helper , is_int ($ alias ) ? null : $ alias );
36
35
}
Original file line number Diff line number Diff line change 24
24
*/
25
25
abstract class Input implements InputInterface
26
26
{
27
+ /**
28
+ * @var InputDefinition
29
+ */
27
30
protected $ definition ;
28
- protected $ options ;
29
- protected $ arguments ;
31
+ protected $ options = array () ;
32
+ protected $ arguments = array () ;
30
33
protected $ interactive = true ;
31
34
32
35
/**
@@ -37,8 +40,6 @@ abstract class Input implements InputInterface
37
40
public function __construct (InputDefinition $ definition = null )
38
41
{
39
42
if (null === $ definition ) {
40
- $ this ->arguments = array ();
41
- $ this ->options = array ();
42
43
$ this ->definition = new InputDefinition ();
43
44
} else {
44
45
$ this ->bind ($ definition );
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class Shell
32
32
private $ history ;
33
33
private $ output ;
34
34
private $ hasReadline ;
35
- private $ processIsolation ;
35
+ private $ processIsolation = false ;
36
36
37
37
/**
38
38
* Constructor.
@@ -48,7 +48,6 @@ public function __construct(Application $application)
48
48
$ this ->application = $ application ;
49
49
$ this ->history = getenv ('HOME ' ).'/.history_ ' .$ application ->getName ();
50
50
$ this ->output = new ConsoleOutput ();
51
- $ this ->processIsolation = false ;
52
51
}
53
52
54
53
/**
You can’t perform that action at this time.
0 commit comments