Completed
Push — refonte ( 7ea448...322718 )
by Arnaud
02:43
created
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.