8000 Fix CS · symfony/symfony@73a6b4b · GitHub
[go: up one dir, main page]

Skip to content

Commit 73a6b4b

Browse files
committed
Fix CS
1 parent b1a7024 commit 73a6b4b

File tree

1 file changed

+10
-6
lines changed
  • src/Symfony/Component/Mailer/Bridge/Sendgrid

1 file changed

+10
-6
lines changed

src/Symfony/Component/Mailer/Bridge/Sendgrid/README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,29 @@ where:
1717
- `KEY` is your Sendgrid API Key
1818

1919

20-
Webhook:
21-
--------
22-
Create route:
20+
Webhook
21+
-------
22+
23+
Create a route:
24+
2325
```yaml
2426
framework:
2527
webhook:
2628
routing:
2729
sendgrid:
2830
service: mailer.webhook.request_parser.sendgrid
29-
secret: '!SENDGRID_VALIDATION_SECRET!' #Leave blank if you dont want to use the signature validation
31+
secret: '!SENDGRID_VALIDATION_SECRET!' # Leave blank if you dont want to use the signature validation
3032
```
31-
Create consumer:
33+
34+
And a consume:
35+
3236
```php
3337
#[\Symfony\Component\RemoteEvent\Attribute\AsRemoteEventConsumer(name: 'sendgrid')]
3438
class SendGridConsumer implements ConsumerInterface
3539
{
3640
public function consume(RemoteEvent|MailerDeliveryEvent $event): void
3741
{
38-
//your code
42+
// your code
3943
}
4044
}
4145
```

0 commit comments

Comments
 (0)
0