[Form] Fixed CS

This commit is contained in:
Bernhard Schussek 2015-03-31 14:58:03 +02:00
parent 7e0960d716
commit 94d18e961c
4 changed files with 2 additions and 4 deletions

View File

@ -96,7 +96,7 @@ class IdReader
public function getIdValue($object)
{
if (!$object) {
return null;
return;
}
if (!$this->om->contains($object)) {

View File

@ -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.

View File

@ -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;
/**

View File

@ -99,7 +99,7 @@ class PropertyAccessDecorator implements ChoiceListFactoryInterface
return $accessor->getValue($choice, $value);
}
return null;
return;
};
}