@@ -135,12 +135,10 @@ |
||
| 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 | |