Mark class as final and readonly

This commit is contained in:
2024-11-12 21:22:51 +01:00
parent 79621e8ab7
commit 6453237340

View File

@@ -17,7 +17,7 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\Workflow\Event\GuardEvent; use Symfony\Component\Workflow\Event\GuardEvent;
use Symfony\Component\Workflow\TransitionBlocker; use Symfony\Component\Workflow\TransitionBlocker;
class BlockSignatureOnRelatedEntityWithoutAnyStoredObjectGuard implements EventSubscriberInterface final readonly class BlockSignatureOnRelatedEntityWithoutAnyStoredObjectGuard implements EventSubscriberInterface
{ {
public function __construct(private EntityWorkflowManager $entityWorkflowManager) {} public function __construct(private EntityWorkflowManager $entityWorkflowManager) {}