Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f2581d

Browse files
Mathieu Piotmpiot
Mathieu Piot
authored andcommitted
Use array long syntax
1 parent f15bc79 commit 4f2581d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Symfony/Component/Form/Tests/AbstractBootstrap3LayoutTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ public function testLabelWithCustomTextAsOptionAndCustomAttributesPassedDirectly
104104

105105
public function testHelp()
106106
{
107-
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, [
107+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, array(
108108
'help' => 'Help text test!',
109-
]);
109+
));
110110
$view = $form->createView();
111111
$html = $this->renderHelp($view);
112112

src/Symfony/Component/Form/Tests/AbstractBootstrap4LayoutTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ public function testLegendOnExpandedType()
153153

154154
public function testHelp()
155155
{
156-
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, [
156+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, array(
157157
'help' => 'Help text test!',
158-
]);
158+
));
159159
$view = $form->createView();
160160
$html = $this->renderHelp($view);
161161

src/Symfony/Component/Form/Tests/AbstractLayoutTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,9 @@ public function testLabelFormatOnButtonId()
412412

413413
public function testHelp()
414414
{
415-
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, [
415+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, array(
416416
'help' => 'Help text test!',
417-
]);
417+
));
418418
$view = $form->createView();
419419
$html = $this->renderHelp($view);
420420

0 commit comments

Comments
 (0)