[Form] Fixed CS
This commit is contained in:
parent
7e0960d716
commit
94d18e961c
@ -96,7 +96,7 @@ class IdReader
|
||||
public function getIdValue($object)
|
||||
{
|
||||
if (!$object) {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$this->om->contains($object)) {
|
||||
|
@ -14,7 +14,6 @@ namespace Symfony\Component\Form\ChoiceList\Factory;
|
||||
use Symfony\Component\Form\ChoiceList\ChoiceListInterface;
|
||||
use Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface;
|
||||
use Symfony\Component\Form\ChoiceList\View\ChoiceListView;
|
||||
use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
|
||||
/**
|
||||
* Caches the choice lists created by the decorated factory.
|
||||
|
@ -19,7 +19,6 @@ use Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface;
|
||||
use Symfony\Component\Form\ChoiceList\View\ChoiceGroupView;
|
||||
use Symfony\Component\Form\ChoiceList\View\ChoiceListView;
|
||||
use Symfony\Component\Form\ChoiceList\View\ChoiceView;
|
||||
use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
use Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface as LegacyChoiceListInterface;
|
||||
|
||||
/**
|
||||
|
@ -99,7 +99,7 @@ class PropertyAccessDecorator implements ChoiceListFactoryInterface
|
||||
return $accessor->getValue($choice, $value);
|
||||
}
|
||||
|
||||
return null;
|
||||
return;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user