| @@ -142,7 +142,7 @@ discard block | ||
| 142 | 142 | /** | 
| 143 | 143 | * Sets tags. | 
| 144 | 144 | * | 
| 145 | - * @param Tag[]|Collection $tags | |
| 145 | + * @param Collection $tags | |
| 146 | 146 | */ | 
| 147 | 147 | public function setTags(Collection $tags = null) | 
| 148 | 148 |      { | 
| @@ -202,7 +202,7 @@ discard block | ||
| 202 | 202 | } | 
| 203 | 203 | |
| 204 | 204 | /** | 
| 205 | - * @param Message[]|Collection $messages | |
| 205 | + * @param Collection $messages | |
| 206 | 206 | */ | 
| 207 | 207 | public function setMessages(Collection $messages = null) | 
| 208 | 208 |      { | 
| @@ -11,8 +11,6 @@ | ||
| 11 | 11 | |
| 12 | 12 | namespace ONGR\TranslationsBundle\Controller; | 
| 13 | 13 | |
| 14 | -use ONGR\ElasticsearchBundle\Result\Result; | |
| 15 | -use ONGR\ElasticsearchDSL\Aggregation\TermsAggregation; | |
| 16 | 14 | use ONGR\ElasticsearchBundle\Service\Repository; | 
| 17 | 15 | use ONGR\FilterManagerBundle\Filter\ViewData; | 
| 18 | 16 | use ONGR\FilterManagerBundle\Search\SearchResponse; |