Skip to content

Commit 0f6f833

Browse files
committed
Fix code style in DefaultChoiceListFactory
1 parent 6c923aa commit 0f6f833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, $value = nul
5757
*/
5858
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, $index = null, $groupBy = null, $attr = null)
5959
{
60-
if (null !== $preferredChoices && !is_array($preferredChoices) && !\is_callable($preferredChoices)) {
60+
if (null !== $preferredChoices && !\is_array($preferredChoices) && !\is_callable($preferredChoices)) {
6161
throw new UnexpectedTypeException($preferredChoices, 'callable, array or null');
6262
}
6363

@@ -73,7 +73,7 @@ public function createView(ChoiceListInterface $list, $preferredChoices = null,
7373
throw new UnexpectedTypeException($groupBy, 'callable or null');
7474
}
7575

76-
if (null !== $attr && !is_array($attr) && !\is_callable($attr)) {
76+
if (null !== $attr && !\is_array($attr) && !\is_callable($attr)) {
7777
throw new UnexpectedTypeException($attr, 'callable, array or null');
7878
}
7979

0 commit comments

Comments
 (0)