Completed
Pull Request — master (#170)
by Simonas
03:06
created
Controller/ProfilesController.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@
 block discarded – undo
71 71
     /**
72 72
      * Returns a json list of profiles
73 73
      *
74
-     * @param Request $request
75 74
      *
76 75
      * @return Response
77 76
      */
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -12,13 +12,9 @@
 block discarded – undo
12 12
 namespace ONGR\SettingsBundle\Controller;
13 13
 
14 14
 use ONGR\ElasticsearchBundle\Result\DocumentIterator;
15
-use ONGR\ElasticsearchBundle\Service\Repository;
16 15
 use ONGR\ElasticsearchDSL\Aggregation\TermsAggregation;
17
-use ONGR\ElasticsearchDSL\Aggregation\TopHitsAggregation;
18 16
 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;
Please login to merge, or discard this patch.
Controller/SettingsController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Document/Setting.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
     /**
146 146
      * Get profile.
147 147
      *
148
-     * @return string|array
148
+     * @return string
149 149
      */
150 150
     public function getProfile()
151 151
     {
Please login to merge, or discard this patch.