File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,28 +30,28 @@ class Creator extends Runner
30
30
*
31
31
* @var bool
32
32
*/
33
- private $ force ;
33
+ private bool $ force = false ;
34
34
35
35
/**
36
36
* Extend existing config or create new one
37
37
*
38
38
* @var string
39
39
*/
40
- private $ mode ;
40
+ private string $ mode = ' create ' ;
41
41
42
42
/**
43
43
* Use express setup mode
44
44
*
45
45
* @var bool
46
46
*/
47
- private $ advanced ;
47
+ private bool $ advanced = false ;
48
48
49
49
/**
50
50
* Path to the currently executed 'binary'
51
51
*
52
- * @var null| string
52
+ * @var string
53
53
*/
54
- protected $ executable ;
54
+ protected string $ executable = '' ;
55
55
56
56
/**
57
57
* Execute the configurator
@@ -180,6 +180,6 @@ private function ensureForce(): void
180
180
*/
181
181
private function getExecutable (): string
182
182
{
183
- return $ this ->executable ?? 'vendor/bin/captainhook ' ;
183
+ return ! empty ( $ this ->executable ) ? $ this -> executable : 'vendor/bin/captainhook ' ;
184
184
}
185
185
}
You can’t perform that action at this time.
0 commit comments