Skip to content

Commit c68509b

Browse files
committed
[Form] Fixed CS
1 parent dc33b61 commit c68509b

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

ChoiceList/Factory/CachingFactoryDecorator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Symfony\Component\Form\ChoiceList\ChoiceListInterface;
1515
use Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface;
1616
use Symfony\Component\Form\ChoiceList\View\ChoiceListView;
17-
use Symfony\Component\Form\Exception\UnexpectedTypeException;
1817

1918
/**
2019
* Caches the choice lists created by the decorated factory.

ChoiceList/Factory/DefaultChoiceListFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use Symfony\Component\Form\ChoiceList\View\ChoiceGroupView;
2020
use Symfony\Component\Form\ChoiceList\View\ChoiceListView;
2121
use Symfony\Component\Form\ChoiceList\View\ChoiceView;
22-
use Symfony\Component\Form\Exception\UnexpectedTypeException;
2322
use Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface as LegacyChoiceListInterface;
2423

2524
/**

ChoiceList/Factory/PropertyAccessDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function createListFromChoices($choices, $value = null)
9999
return $accessor->getValue($choice, $value);
100100
}
101101

102-
return null;
102+
return;
103103
};
104104
}
105105

0 commit comments

Comments
 (0)