]> Raphaël G. Git Repositories - packbundle/commitdiff
Strict types
authorRaphaël Gertz <git@rapsys.eu>
Fri, 10 Nov 2023 11:27:25 +0000 (12:27 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 10 Nov 2023 11:27:25 +0000 (12:27 +0100)
Form/CaptchaType.php

index d479b47371abc41909abb8aedc5197fcfd2daffd..da087c081cf6b248104a37dfd2fbab50fcc71c17 100644 (file)
@@ -67,7 +67,7 @@ class CaptchaType extends AbstractType {
         *
         * {@inheritdoc}
         */
-       public function buildForm(FormBuilderInterface $builder, array $options) {
+       public function buildForm(FormBuilderInterface $builder, array $options): void {
                //Set captcha
                $captcha = $this->image->getCaptcha((new \DateTime('-1 year'))->getTimestamp());