Use array long syntax
This commit is contained in:
parent
f15bc79df1
commit
4f2581d7da
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user