Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 28f8fa9

Browse filesBrowse files
committed
minor #8220 Removed tabs in 2.8 docs (javiereguiluz)
This PR was merged into the 2.8 branch. Discussion ---------- Removed tabs in 2.8 docs Don't merge this on 2.7. Only 2.8 and up. Thanks! Commits ------- 8c8a65a Removed tabs in 2.8 docs
2 parents b2f4367 + 8c8a65a commit 28f8fa9
Copy full SHA for 28f8fa9

File tree

Expand file treeCollapse file tree

2 files changed

+11
-11
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+11
-11
lines changed

‎components/form.rst

Copy file name to clipboardExpand all lines: components/form.rst
+6-6Lines 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

Copy file name to clipboardExpand all lines: serializer.rst
+5-5Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.