@@ -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 | */ |
@@ -150,7 +150,7 @@ |
||
150 | 150 | /** |
151 | 151 | * Set profile. |
152 | 152 | * |
153 | - * @param string|array $profile |
|
153 | + * @param string[] $profile |
|
154 | 154 | */ |
155 | 155 | public function setProfile($profile) |
156 | 156 | { |