Skip to content

Commit 952bf87

Browse files
committed
FIX: nullables
1 parent c7f0c98 commit 952bf87

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/Config.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ class Config
1515
public const TRIGGER_FILENAME = '.SOARCE-gather-stats';
1616
public const SUFFIX_TRACEFILE = '.xt';
1717

18-
protected ?string $actionParamName;
18+
protected ?string $actionParamName = null;
1919

20-
protected ?string $applicationName;
20+
protected ?string $applicationName = null;
2121

22-
protected ?string $dataPath;
22+
protected ?string $dataPath = null;
2323

24-
protected ?int $numberOfPipes;
24+
protected ?int $numberOfPipes = null;
2525

2626
/** @var string[] */
2727
protected array $whitelistedHostIps = [];
2828

2929
/** @var string[] */
3030
protected array $whitelistedPaths = [];
3131

32-
protected ?string $presharedSecret;
32+
protected ?string $presharedSecret = null;
3333

3434
public function getPresharedSecret(): string
3535
{

src/RequestTracking.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ class RequestTracking
99
const HEADER_NAME = 'HTTP_X_SOARCE_REQUEST_ID';
1010
const EXPIRY_SECONDS = 600;
1111

12-
private ?string $requestId;
12+
private ?string $requestId = null;
1313

14-
private ?string $serverIp;
14+
private ?string $serverIp = null;
1515

16-
private ?string $requestIp;
16+
private ?string $requestIp = null;
1717

1818
public function __construct(private ClientInterface $client)
1919
{

0 commit comments

Comments
 (0)