Use array long syntax

This commit is contained in:
Mathieu Piot 2018-02-28 08:22:14 +01:00 committed by Mathieu Piot
parent f15bc79df1
commit 4f2581d7da
3 changed files with 6 additions and 6 deletions

View File

@ -104,9 +104,9 @@ abstract class AbstractBootstrap3LayoutTest extends AbstractLayoutTest
public function testHelp()
{
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, [
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, array(
'help' => 'Help text test!',
]);
));
$view = $form->createView();
$html = $this->renderHelp($view);

View File

@ -153,9 +153,9 @@ abstract class AbstractBootstrap4LayoutTest extends AbstractBootstrap3LayoutTest
public function testHelp()
{
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, [
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, array(
'help' => 'Help text test!',
]);
));
$view = $form->createView();
$html = $this->renderHelp($view);

View File

@ -412,9 +412,9 @@ abstract class AbstractLayoutTest extends FormIntegrationTestCase
public function testHelp()
{
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, [
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', null, array(
'help' => 'Help text test!',
]);
));
$view = $form->createView();
$html = $this->renderHelp($view);