Rapsys Git
/
airbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99ad4ba
)
Strict types
author
Raphaël Gertz
<git@rapsys.eu>
Wed, 31 Jan 2024 21:54:21 +0000
(22:54 +0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Wed, 31 Jan 2024 21:54:21 +0000
(22:54 +0100)
Form/ContactType.php
patch
|
blob
|
history
diff --git
a/Form/ContactType.php
b/Form/ContactType.php
index 8e5946e8138ef99de557c13f66894df33466b860..bb0ee77053a1c3a36cb495da326d78f6306e4f6f 100644
(file)
--- a/
Form/ContactType.php
+++ b/
Form/ContactType.php
@@
-17,7
+17,7
@@
class ContactType extends CaptchaType {
/**
* {@inheritdoc}
*/
- public function buildForm(FormBuilderInterface $builder, array $options) {
+ public function buildForm(FormBuilderInterface $builder, array $options)
: void
{
//Add fields
$builder
->add('name', TextType::class, ['attr' => ['placeholder' => 'Your name'], 'constraints' => [new NotBlank(['message' => 'Please provide your name'])]])