8000 Fix Fabpot.io · symfony/symfony@f1d13a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit f1d13a8

Browse files
committed
Fix Fabpot.io
1 parent 69ded67 commit f1d13a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/form_row.html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div>
2-
<?php $widgetAtt = empty($help) ? [] : ['attr'=>['aria-describedby'=> $id.'_help']]; ?>
2+
<?php $widgetAtt = empty($help) ? array() : array('attr' => array('aria-describedby' => $id.'_help')); ?>
33
<?php echo $view['form']->label($form); ?>
44
<?php echo $view['form']->errors($form); ?>
55
<?php echo $view['form']->widget($form, $widgetAtt); ?>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function testErrors()
195195

196196
public function testErrorWithNoLabel()
197197
{
198-
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', array('label'=>false));
198+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType', array('label' => false));
199199
$form->addError(new FormError('[trans]Error 1[/trans]'));
200200
$view = $form->createView();
201201
$html = $this->renderLabel($view);

0 commit comments

Comments
 (0)
0