From 2c6d09f8f21eb7861164615c8db50edaceeb6553 Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Thu, 3 Apr 2025 13:19:41 +0200 Subject: [PATCH] Add docblock to support state processor --- src/State/Project/SupportStateProcessor.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/State/Project/SupportStateProcessor.php b/src/State/Project/SupportStateProcessor.php index ec3002e..9276961 100644 --- a/src/State/Project/SupportStateProcessor.php +++ b/src/State/Project/SupportStateProcessor.php @@ -21,9 +21,13 @@ class SupportStateProcessor implements ProcessorInterface private EntityManagerInterface $entityManager, ) {} + /** + * @param SupportApiResource $data + * + * @return SupportApiResource + */ public function process(mixed $data, Operation $operation, array $uriVariables = [], array $context = []) { - // Verify if the user is authenticated $user = $this->authService->getUser(); if (!$user) { throw new AuthenticationException();