@@ -15,11 +15,11 @@ |
||
15 | 15 | |
16 | 16 | class ActionConfiguration extends Configuration |
17 | 17 | { |
18 | - /** |
|
19 | - * Related Action name. |
|
20 | - * |
|
21 | - * @var string |
|
22 | - */ |
|
18 | + /** |
|
19 | + * Related Action name. |
|
20 | + * |
|
21 | + * @var string |
|
22 | + */ |
|
23 | 23 | private $actionName; |
24 | 24 | |
25 | 25 | /** |
@@ -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 |