Skip to content

Commit 1511086

Browse files
Apply php-cs-fixer
1 parent cced17f commit 1511086

13 files changed

+13
-13
lines changed

src/EventListener/IncomingHttpHeaderEventListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct(
1414
private readonly RequestIdProviderInterface $requestIdProvider,
1515
private readonly string $headerName,
1616
private readonly TrustStrategyInterface $trustStrategy,
17-
private readonly ?LoggerInterface $logger
17+
private readonly ?LoggerInterface $logger,
1818
) {
1919
}
2020

src/Generator/RequestIdGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class RequestIdGenerator implements RequestIdGeneratorInterface
66
{
77
public function __construct(
8-
private readonly int $length = 16
8+
private readonly int $length = 16,
99
) {
1010
}
1111

src/Generator/UuidRequestIdGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class UuidRequestIdGenerator implements RequestIdGeneratorInterface
88
{
99
public function __construct(
10-
private readonly int $version = 4
10+
private readonly int $version = 4,
1111
) {
1212
}
1313

src/HttpClient/RequestIdLoggingHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class RequestIdLoggingHttpClient implements HttpClientInterface
2020
public function __construct(
2121
HttpClientInterface $client,
2222
private readonly LoggerInterface $logger,
23-
private readonly array $headerNames
23+
private readonly array $headerNames,
2424
) {
2525
$this->client = $client;
2626
}

src/HttpClient/RequestIdSettingHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class RequestIdSettingHttpClient implements HttpClientInterface
1414
public function __construct(
1515
private HttpClientInterface $client,
1616
private readonly RequestIdProviderInterface $requestIdProvider,
17-
private readonly string $headerName = 'x-request-id'
17+
private readonly string $headerName = 'x-request-id',
1818
) {
1919
}
2020

src/Monolog/RequestIdLogProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class RequestIdLogProcessor implements ProcessorInterface, ResettableInterface,
1212
{
1313
public function __construct(
1414
private readonly RequestIdProviderInterface $requestIdProvider,
15-
private readonly string $key
15+
private readonly string $key,
1616
) {
1717
}
1818

src/Provider/RequestIdProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class RequestIdProvider implements RequestIdProviderInterface
99
private ?string $requestId = null;
1010

1111
public function __construct(
12-
private readonly RequestIdGeneratorInterface $requestIdGenerator
12+
private readonly RequestIdGeneratorInterface $requestIdGenerator,
1313
) {
1414
}
1515

src/TrustStrategy/AtLeastOneTrustStrategy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class AtLeastOneTrustStrategy implements TrustStrategyInterface
1010
* @param iterable<TrustStrategyInterface> $trustStrategies
1111
*/
1212
public function __construct(
13-
private readonly iterable $trustStrategies
13+
private readonly iterable $trustStrategies,
1414
) {
1515
}
1616

src/TrustStrategy/ChainTrustStrategy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ChainTrustStrategy implements TrustStrategyInterface
1010
* @param iterable<TrustStrategyInterface> $trustStrategies
1111
*/
1212
public function __construct(
13-
private readonly iterable $trustStrategies
13+
private readonly iterable $trustStrategies,
1414
) {
1515
}
1616

src/TrustStrategy/IpBasedTrustStrategy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class IpBasedTrustStrategy implements TrustStrategyInterface
1111
* @param string|string[] $trustedIps
1212
*/
1313
public function __construct(
14-
private readonly string|array $trustedIps
14+
private readonly string|array $trustedIps,
1515
) {
1616
}
1717

0 commit comments

Comments
 (0)