Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94d18e9

Browse files
committed
[Form] Fixed CS
1 parent 7e0960d commit 94d18e9

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function isIntId()
9696
public function getIdValue($object)
9797
{
9898
if (!$object) {
99-
return null;
99+
return;
100100
}
101101

102102
if (!$this->om->contains($object)) {

src/Symfony/Component/Form/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.

src/Symfony/Component/Form/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
/**

src/Symfony/Component/Form/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)