@@ -65,7 +65,9 @@ |
||
65 | 65 | $profiles[] = $agg->getValue('key'); |
66 | 66 | } |
67 | 67 | |
68 | - if (empty($profiles) || !in_array('default', $profiles)) array_unshift($profiles, 'default'); |
|
68 | + if (empty($profiles) || !in_array('default', $profiles)) { |
|
69 | + array_unshift($profiles, 'default'); |
|
70 | + } |
|
69 | 71 | |
70 | 72 | return new JsonResponse($profiles); |
71 | 73 | } |
@@ -71,7 +71,6 @@ |
||
71 | 71 | /** |
72 | 72 | * Returns a json list of profiles |
73 | 73 | * |
74 | - * @param Request $request |
|
75 | 74 | * |
76 | 75 | * @return Response |
77 | 76 | */ |