Remove implementation MessageHandlerInterface and use #[AsMessageHandler] attribute

This interface no longer exists
This commit is contained in:
2025-10-01 10:05:12 +02:00
parent 69b59d2ae2
commit 119d870ac8
3 changed files with 3 additions and 6 deletions

View File

@@ -13,10 +13,9 @@ namespace Chill\PersonBundle\AccompanyingPeriod\Lifecycle;
use Chill\PersonBundle\Repository\AccompanyingPeriodRepository;
use Symfony\Component\Messenger\Attribute\AsMessageHandler;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
#[AsMessageHandler]
class AccompanyingPeriodStepChangeMessageHandler implements MessageHandlerInterface
class AccompanyingPeriodStepChangeMessageHandler
{
private const LOG_PREFIX = '[accompanying period step change message handler] ';