8000 Removed tabs in 2.8 docs · bamarni/symfony-docs@8c8a65a · GitHub
[go: up one dir, main page]

Skip to content

Commit 8c8a65a

Browse files
committed
Removed tabs in 2.8 docs
1 parent d64b396 commit 8c8a65a

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

components/form.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ builder:
479479
);
480480
481481
$form = $this->createFormBuilder($defaults)
482-
->add('task', TextType::class)
483-
->add('dueDate', DateType::class)
482+
->add('task', TextType::class)
483+
->add('dueDate', DateType::class)
484484
->getForm();
485485
486486
// ...
@@ -623,8 +623,8 @@ method:
623623
public function newAction(Request $request)
624624
{
625625
$form = $this->createFormBuilder()
626-
->add('task', TextType::class)
627-
->add('dueDate', DateType::class)
626+
->add('task', TextType::class)
627+
->add('dueDate', DateType::class)
628628
->getForm();
629629
630630
$form->handleRequest($request);
@@ -701,10 +701,10 @@ option when building each field:
701701
public function newAction(Request $request)
702702
{
703703
$form = $this->createFormBuilder()
704-
->add('task', TextType::class, array(
704+
->add('task', TextType::class, array(
705705
'constraints' => new NotBlank(),
706706
))
707-
->add('dueDate', DateType::class, array(
707+
->add('dueDate', DateType::class, array(
708708
'constraints' => array(
709709
new NotBlank(),
710710
new Type(\DateTime::class),

serializer.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ it in your configuration:
4646
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
4747
<framework:config>
4848
<!-- ... -->
49-
<framework:serializer enable-annotations="true" />
50-
<!--
51-
Alternatively, if you don't want to use annotations
52-
<framework:serializer enabled="true" />
53-
-->
49+
<framework:serializer enable-annotations="true" />
50+
<!--
51+
Alternatively, if you don't want to use annotations
52+
<framework:serializer enabled="true" />
53+
-->
5454
</framework:config>
5555
</container>
5656

0 commit comments

Comments
 (0)
0