@@ -11,9 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace ONGR\SettingsBundle\Controller; |
| 13 | 13 | |
| 14 | -use ONGR\ElasticsearchBundle\Result\Aggregation\AggregationValue; |
|
| 15 | 14 | use ONGR\ElasticsearchBundle\Service\Repository; |
| 16 | -use ONGR\ElasticsearchDSL\Aggregation\TermsAggregation; |
|
| 17 | 15 | use ONGR\SettingsBundle\Document\Setting; |
| 18 | 16 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 19 | 17 | use Symfony\Component\HttpFoundation\JsonResponse; |
@@ -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 | */ |
@@ -14,11 +14,7 @@ |
||
| 14 | 14 | use ONGR\ElasticsearchBundle\Result\DocumentIterator; |
| 15 | 15 | use ONGR\ElasticsearchBundle\Service\Repository; |
| 16 | 16 | use ONGR\ElasticsearchDSL\Aggregation\TermsAggregation; |
| 17 | -use ONGR\ElasticsearchDSL\Aggregation\TopHitsAggregation; |
|
| 18 | -use ONGR\ElasticsearchDSL\Search; |
|
| 19 | 17 | use ONGR\ElasticsearchBundle\Result\Aggregation\AggregationValue; |
| 20 | -use ONGR\SettingsBundle\Document\Setting; |
|
| 21 | -use ONGR\SettingsBundle\Service\SettingsManager; |
|
| 22 | 18 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 23 | 19 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 24 | 20 | use Symfony\Component\HttpFoundation\Request; |
@@ -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 | { |