Skip to content

Commit c8ec829

Browse files
committed
📦 Use CPP
1 parent 3d60ca8 commit c8ec829

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/Collector/Stack.php

+4-8
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,13 @@
1313
*/
1414
final class Stack
1515
{
16-
private string $client;
17-
1816
private ?Stack $parent = null;
1917

2018
/**
2119
* @var Profile[]
2220
*/
2321
private array $profiles = [];
2422

25-
private string $request;
26-
2723
private ?string $response = null;
2824

2925
private bool $failed = false;
@@ -50,10 +46,10 @@ final class Stack
5046

5147
private ?string $curlCommand = null;
5248

53-
public function __construct(string $client, string $request)
54-
{
55-
$this->client = $client;
56-
$this->request = $request;
49+
public function __construct(
50+
private readonly string $client,
51+
private readonly string $request,
52+
) {
5753
}
5854

5955
/**

0 commit comments

Comments
 (0)