Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40ec81d

Browse files
committed
-
1 parent a51df03 commit 40ec81d

File tree

8 files changed

+24
-16
lines changed

8 files changed

+24
-16
lines changed

src/Symfony/Component/Notifier/Channel/ChannelPolicy.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
*/
1919
final class ChannelPolicy implements ChannelPolicyInterface
2020
{
21-
public function __construct(private array $policy)
22-
{
21+
public function __construct(
22+
private array $policy,
23+
) {
2324
}
2425

2526
public function getChannels(string $importance): array

src/Symfony/Component/Notifier/DataCollector/NotificationDataCollector.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
*/
2323
final class NotificationDataCollector extends DataCollector
2424
{
25-
public function __construct(private NotificationLoggerListener $logger)
26-
{
25+
public function __construct(
26+
private NotificationLoggerListener $logger,
27+
) {
2728
}
2829

2930
public function collect(Request $request, Response $response, \Throwable $exception = null): void

src/Symfony/Component/Notifier/Event/SentMessageEvent.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
*/
2020
final class SentMessageEvent extends Event
2121
{
22-
public function __construct(private SentMessage $message)
23-
{
22+
public function __construct(
23+
private SentMessage $message,
24+
) {
2425
}
2526

2627
public function getMessage(): SentMessage

src/Symfony/Component/Notifier/EventListener/SendFailedMessageToNotifierListener.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
*/
2525
class SendFailedMessageToNotifierListener implements EventSubscriberInterface
2626
{
27-
public function __construct(private Notifier $notifier)
28-
{
27+
public function __construct(
28+
private Notifier $notifier,
29+
) {
2930
}
3031

3132
public function onMessageFailed(WorkerMessageFailedEvent $event): void

src/Symfony/Component/Notifier/Messenger/MessageHandler.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
*/
2121
final class MessageHandler
2222
{
23-
public function __construct(private TransportInterface $transport)
24-
{
23+
public function __construct(
24+
private TransportInterface $transport,
25+
) {
2526
}
2627

2728
public function __invoke(MessageInterface $message): ?SentMessage

src/Symfony/Component/Notifier/Test/Constraint/NotificationSubjectContains.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
*/
2020
final class NotificationSubjectContains extends Constraint
2121
{
22-
public function __construct(private string $expectedText)
23-
{
22+
public function __construct(
23+
private string $expectedText,
24+
) {
2425
}
2526

2627
public function toString(): string

src/Symfony/Component/Notifier/Test/Constraint/NotificationTransportIsEqual.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
*/
2020
final class NotificationTransportIsEqual extends Constraint
2121
{
22-
public function __construct(private ?string $expectedText)
23-
{
22+
public function __construct(
23+
private ?string $expectedText,
24+
) {
2425
}
2526

2627
public function toString(): string

src/Symfony/Component/Notifier/Transport.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,9 @@ public static function fromDsns(#[\SensitiveParameter] array $dsns, EventDispatc
118118
/**
119119
* @param iterable<mixed, TransportFactoryInterface> $factories
120120
*/
121-
public function __construct(private iterable $factories)
122-
{
121+
public function __construct(
122+
private iterable $factories,
123+
) {
123124
}
124125

125126
public function fromStrings(#[\SensitiveParameter] array $dsns): Transports

0 commit comments

Comments
 (0)