Completed
Push — refonte ( aff19c...bdef79 )
by Arnaud
02:49 queued 31s
created
src/Factory/FieldFactory.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 namespace LAG\AdminBundle\Factory;
4 4
 
5 5
 use Exception;
6
-use LAG\AdminBundle\Admin\Exception\AdminException;
7 6
 use LAG\AdminBundle\Configuration\ActionConfiguration;
8 7
 use LAG\AdminBundle\Configuration\ApplicationConfiguration;
9 8
 use LAG\AdminBundle\Configuration\ApplicationConfigurationStorage;
10 9
 use LAG\AdminBundle\Field\FieldInterface;
11 10
 use LAG\AdminBundle\Field\TwigAwareFieldInterface;
12
-use LAG\AdminBundle\Field\TwigAwareInterface;
13 11
 use LAG\AdminBundle\Field\TranslatorAwareFieldInterface;
14 12
 use Symfony\Component\OptionsResolver\OptionsResolver;
15 13
 use Symfony\Component\Translation\TranslatorInterface;
Please login to merge, or discard this patch.
src/Event/Subscriber/AdminSubscriber.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -135,12 +135,10 @@
 block discarded – undo
135 135
 
136 136
         if (LAGAdminBundle::LOAD_STRATEGY_NONE === $strategy) {
137 137
             return;
138
-        }
139
-        else if (LAGAdminBundle::LOAD_STRATEGY_MULTIPLE === $strategy) {
138
+        } else if (LAGAdminBundle::LOAD_STRATEGY_MULTIPLE === $strategy) {
140 139
             $entities = $dataProvider->getCollection($admin, $event->getFilters());
141 140
             $event->setEntities($entities);
142
-        }
143
-        else if (LAGAdminBundle::LOAD_STRATEGY_UNIQUE === $strategy) {
141
+        } else if (LAGAdminBundle::LOAD_STRATEGY_UNIQUE === $strategy) {
144 142
             $requirements = $actionConfiguration->getParameter('route_requirements');
145 143
             $identifier = null;
146 144
 
Please login to merge, or discard this patch.