@@ -26,7 +26,7 @@ |
||
26 | 26 | /** |
27 | 27 | * Constructor. |
28 | 28 | * |
29 | - * @param Action $action |
|
29 | + * @param string $action |
|
30 | 30 | */ |
31 | 31 | public function __construct($action) |
32 | 32 | { |
@@ -120,7 +120,7 @@ |
||
120 | 120 | } |
121 | 121 | |
122 | 122 | /** |
123 | - * @param array $profiles |
|
123 | + * @param string[] $profiles |
|
124 | 124 | */ |
125 | 125 | public function setProfiles($profiles) |
126 | 126 | { |
@@ -108,7 +108,7 @@ |
||
108 | 108 | * @param bool $miss |
109 | 109 | * @param array $settings |
110 | 110 | * |
111 | - * @return \PHPUnit_Framework_MockObject_MockObject|PoolInterface |
|
111 | + * @return PoolInterface |
|
112 | 112 | */ |
113 | 113 | private function getPool($miss = true, $settings = []) |
114 | 114 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @return array |
|
44 | + * @return \Twig_SimpleFunction[] |
|
45 | 45 | */ |
46 | 46 | public function getFunctions() |
47 | 47 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Returns list of new Twig functions. |
21 | 21 | * |
22 | - * @return array |
|
22 | + * @return \Twig_SimpleFilter[] |
|
23 | 23 | */ |
24 | 24 | public function getFilters() |
25 | 25 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @return array |
|
44 | + * @return \Twig_SimpleFunction[] |
|
45 | 45 | */ |
46 | 46 | public function getFunctions() |
47 | 47 | { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * @param string $settingName |
61 | 61 | * @param bool $mustAuthorize |
62 | 62 | * |
63 | - * @return mixed |
|
63 | + * @return boolean |
|
64 | 64 | */ |
65 | 65 | public function getSettingEnabled($settingName, $mustAuthorize = true) |
66 | 66 | { |
@@ -161,7 +161,7 @@ |
||
161 | 161 | * |
162 | 162 | * @param string $name |
163 | 163 | * @param string $type |
164 | - * @param mixed $value |
|
164 | + * @param string $value |
|
165 | 165 | * @param string $profile |
166 | 166 | * |
167 | 167 | * @return Setting |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
17 | 17 | use ONGR\ElasticsearchBundle\Service\Manager; |
18 | 18 | use ONGR\ElasticsearchDSL\Query\MatchAllQuery; |
19 | -use Symfony\Component\Translation\TranslatorInterface; |
|
20 | 19 | use Symfony\Component\DependencyInjection\ContainerInterface; |
21 | 20 | |
22 | 21 | /** |
@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * Returns mock of ORM manager. |
88 | 88 | * |
89 | - * @return Manager |
|
89 | + * @return \ONGR\ElasticsearchBundle\Service\Manager |
|
90 | 90 | */ |
91 | 91 | protected function getManagerMock() |
92 | 92 | { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace ONGR\SettingsBundle\Tests\Unit\EventListener; |
13 | 13 | |
14 | 14 | use ONGR\SettingsBundle\EventListener\ProfileRequestListener; |
15 | -use ONGR\ElasticsearchBundle\Test\ElasticsearchTestCase; |
|
16 | 15 | |
17 | 16 | class ProfileRequestListenerTest extends \PHPUnit_Framework_TestCase |
18 | 17 | { |