Skip to content

Commit 8e43c6e

Browse files
CC-32416: fixed ci issues. (#10728)
SC-17846 Fixed CI issues.
1 parent 9eee920 commit 8e43c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spryker/Shared/Symfony/Form/Extension/DoubleSubmitProtection/Type/DoubleSubmitFormType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function finishView(FormView $view, FormInterface $form, array $options):
119119

120120
$factory = $form->getConfig()->getFormFactory();
121121
$token = $this->tokenGenerator->generateToken();
122-
$fieldName = $options[static::OPTION_KEY_TOKEN_FIELD_NAME];
122+
$fieldName = (string)$options[static::OPTION_KEY_TOKEN_FIELD_NAME];
123123
$formName = $form->getName() ?: get_class($form->getConfig()->getType()->getInnerType());
124124
$this->storage->setToken($formName, $token);
125125

0 commit comments

Comments
 (0)