Feature: add thirdParty choice in docgen accperiodworkevaluation context - phpcs fix

This commit is contained in:
nobohan
2023-05-25 09:59:16 +02:00
parent 303666b30d
commit ef59e6dc1c
6 changed files with 18 additions and 16 deletions

View File

@@ -650,8 +650,8 @@ final class ActivityController extends AbstractController
throw $this->createNotFoundException('Accompanying Period not found');
}
// TODO Add permission
// $this->denyAccessUnlessGranted('CHILL_PERSON_SEE', $person);
// TODO Add permission
// $this->denyAccessUnlessGranted('CHILL_PERSON_SEE', $person);
} else {
throw $this->createNotFoundException('Person or Accompanying Period not found');
}

View File

@@ -178,7 +178,6 @@ class ActivityContext implements
'placeholder' => $this->translator->trans('Any third party selected'),
]);
}
}
public function contextGenerationDataDenormalize(DocGeneratorTemplate $template, $entity, array $data): array