Skip to content

Commit 8168608

Browse files
minor symfony#53325 [Webhook] Use one line for attribute and property (OskarStark)
This PR was merged into the 7.1 branch. Discussion ---------- [Webhook] Use one line for attribute and property | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | -- | License | MIT As requested by `@nicolas`-grekas Commits ------- 79f5bcc [Webhook] Use oneline for attribute and proeprty
2 parents f5da3c3 + 79f5bcc commit 8168608

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Webhook/Subscriber.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ class Subscriber
1717
{
1818
public function __construct(
1919
private readonly string $url,
20-
#[\SensitiveParameter]
21-
private readonly string $secret,
20+
#[\SensitiveParameter] private readonly string $secret,
2221
) {
2322
if (!$secret) {
2423
throw new InvalidArgumentException('A non-empty secret is required.');

0 commit comments

Comments
 (0)