Skip to content

Commit 7ee4376

Browse files
committed
Fixed phan error
1 parent ed3d651 commit 7ee4376

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Exporter/Instana/src/InstanaTransport.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ public function __construct(
4646
private readonly string $endpoint,
4747
// @phpstan-ignore property.onlyWritten
4848
private readonly float $timeout = 0.0,
49-
50-
private readonly int $attempts
49+
private readonly int $attempts = 1
5150
) {
5251
$this->headers += ['Content-Type' => self::CONTENT_TYPE];
5352
if ($timeout > 0.0) {

0 commit comments

Comments
 (0)