fixes after merge of master into upgrade-sf4

This commit is contained in:
2024-02-12 22:31:16 +01:00
parent 37af488f69
commit f889d67e94
664 changed files with 795 additions and 1980 deletions

View File

@@ -20,7 +20,5 @@ namespace Chill\MainBundle\Service\ShortMessage;
class NullShortMessageSender implements ShortMessageSenderInterface
{
public function send(ShortMessage $shortMessage): void
{
}
public function send(ShortMessage $shortMessage): void {}
}

View File

@@ -26,9 +26,7 @@ class ShortMessage
final public const PRIORITY_MEDIUM = 'medium';
public function __construct(private string $content, private PhoneNumber $phoneNumber, private string $priority = 'low')
{
}
public function __construct(private string $content, private PhoneNumber $phoneNumber, private string $priority = 'low') {}
public function getContent(): string
{

View File

@@ -25,9 +25,7 @@ use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
*/
class ShortMessageHandler implements MessageHandlerInterface
{
public function __construct(private readonly ShortMessageTransporterInterface $messageTransporter)
{
}
public function __construct(private readonly ShortMessageTransporterInterface $messageTransporter) {}
public function __invoke(ShortMessage $message): void
{

View File

@@ -20,9 +20,7 @@ namespace Chill\MainBundle\Service\ShortMessage;
class ShortMessageTransporter implements ShortMessageTransporterInterface
{
public function __construct(private readonly ShortMessageSenderInterface $sender)
{
}
public function __construct(private readonly ShortMessageSenderInterface $sender) {}
public function send(ShortMessage $shortMessage): void
{