From a121626e91c8c13d08bd1a00e3db8aa3d833bf86 Mon Sep 17 00:00:00 2001 From: Stefan Hagspiel Date: Thu, 14 Nov 2024 15:17:23 +0100 Subject: [PATCH] update docs (#490) --- .github/workflows/cla-check.yml | 1 + docs/0_Usage.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cla-check.yml b/.github/workflows/cla-check.yml index 5570471d..7f16d04f 100644 --- a/.github/workflows/cla-check.yml +++ b/.github/workflows/cla-check.yml @@ -20,6 +20,7 @@ jobs: uses: contributor-assistant/github-action@v2.6.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }} with: path-to-signatures: 'signatures/version1/cla.json' path-to-document: 'https://github.com/dachcom-digital/pimcore-formbuilder/blob/master/CLA.md' diff --git a/docs/0_Usage.md b/docs/0_Usage.md index bcb864b4..d5d1eac6 100644 --- a/docs/0_Usage.md +++ b/docs/0_Usage.md @@ -57,10 +57,11 @@ use Pimcore\Controller\FrontendController; use FormBuilderBundle\Assembler\FormAssembler; use FormBuilderBundle\Resolver\FormOptionsResolver; use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\HttpFoundation\Response; class DefaultController extends FrontendController { - public function formAction(Request $request) + public function formAction(Request $request): Response { $options = [ 'form_id' => 3,