Run symfonysetlist symfony_62

This commit is contained in:
2025-05-28 15:16:09 +02:00
parent 8ec18a6fb8
commit abb786495a
14 changed files with 61 additions and 80 deletions

View File

@@ -29,10 +29,10 @@ use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
*
* @AsMessageHandler
*/
class InviteUpdateHandler implements MessageHandlerInterface
#[\Symfony\Component\Messenger\Attribute\AsMessageHandler]
class InviteUpdateHandler
{
public function __construct(private readonly EntityManagerInterface $em, private readonly InviteRepository $inviteRepository, private readonly RemoteCalendarConnectorInterface $remoteCalendarConnector) {}
public function __invoke(InviteUpdateMessage $inviteUpdateMessage): void
{
if (null === $invite = $this->inviteRepository->find($inviteUpdateMessage->getInviteId())) {