File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public function __construct(
17
17
) {
18
18
}
19
19
20
- public function setOutput (SymfonyStyle | null $ output ): void
20
+ public function setOutput (? SymfonyStyle $ output ): void
21
21
{
22
22
$ this ->output = $ output ;
23
23
}
@@ -33,7 +33,7 @@ public function check(
33
33
bool $ organizeImportsEnabled ,
34
34
bool $ staged ,
35
35
bool $ changed ,
36
- string | null $ since ,
36
+ ? string $ since ,
37
37
array $ path ,
38
38
): Process {
39
39
$ arguments = [];
@@ -81,7 +81,7 @@ public function ci(
81
81
bool $ linterEnabled ,
82
82
bool $ organizeImportsEnabled ,
83
83
bool $ changed ,
84
- string | null $ since ,
84
+ ? string $ since ,
85
85
array $ path ,
86
86
): Process {
87
87
$ arguments = [];
Original file line number Diff line number Diff line change 11
11
12
12
final class BiomeJsBinary
13
13
{
14
- private SymfonyStyle | null $ output = null ;
14
+ private ? SymfonyStyle $ output = null ;
15
15
private HttpClientInterface $ httpClient ;
16
- private string | null $ cachedVersion = null ;
16
+ private ? string $ cachedVersion = null ;
17
17
18
18
public function __construct (
19
19
private readonly string $ cwd ,
20
20
private readonly string $ binaryDownloadDir ,
21
- private readonly string | null $ binaryVersion ,
22
- HttpClientInterface | null $ httpClient = null ,
21
+ private readonly ? string $ binaryVersion ,
22
+ ? HttpClientInterface $ httpClient = null ,
23
23
) {
24
24
$ this ->httpClient = $ httpClient ?? HttpClient::create ();
25
25
}
26
26
27
- public function setOutput (SymfonyStyle | null $ output ): void
27
+ public function setOutput (? SymfonyStyle $ output ): void
28
28
{
29
29
$ this ->output = $ output ;
30
30
}
You can’t perform that action at this time.
0 commit comments