Skip to content

Commit 54d7337

Browse files
committed
qa
1 parent 593d6e5 commit 54d7337

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/BiomeJs.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __construct(
1717
) {
1818
}
1919

20-
public function setOutput(SymfonyStyle|null $output): void
20+
public function setOutput(?SymfonyStyle $output): void
2121
{
2222
$this->output = $output;
2323
}
@@ -33,7 +33,7 @@ public function check(
3333
bool $organizeImportsEnabled,
3434
bool $staged,
3535
bool $changed,
36-
string|null $since,
36+
?string $since,
3737
array $path,
3838
): Process {
3939
$arguments = [];
@@ -81,7 +81,7 @@ public function ci(
8181
bool $linterEnabled,
8282
bool $organizeImportsEnabled,
8383
bool $changed,
84-
string|null $since,
84+
?string $since,
8585
array $path,
8686
): Process {
8787
$arguments = [];

src/BiomeJsBinary.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@
1111

1212
final class BiomeJsBinary
1313
{
14-
private SymfonyStyle|null $output = null;
14+
private ?SymfonyStyle $output = null;
1515
private HttpClientInterface $httpClient;
16-
private string|null $cachedVersion = null;
16+
private ?string $cachedVersion = null;
1717

1818
public function __construct(
1919
private readonly string $cwd,
2020
private readonly string $binaryDownloadDir,
21-
private readonly string|null $binaryVersion,
22-
HttpClientInterface|null $httpClient = null,
21+
private readonly ?string $binaryVersion,
22+
?HttpClientInterface $httpClient = null,
2323
) {
2424
$this->httpClient = $httpClient ?? HttpClient::create();
2525
}
2626

27-
public function setOutput(SymfonyStyle|null $output): void
27+
public function setOutput(?SymfonyStyle $output): void
2828
{
2929
$this->output = $output;
3030
}

0 commit comments

Comments
 (0)