@@ -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 | { |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | /** |
| 149 | - * @param array $activeProfilesList |
|
| 149 | + * @param string[] $activeProfilesList |
|
| 150 | 150 | */ |
| 151 | 151 | public function setActiveProfilesList(array $activeProfilesList) |
| 152 | 152 | { |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | * |
| 377 | 377 | * @param string $profile |
| 378 | 378 | * |
| 379 | - * @return array |
|
| 379 | + * @return \ONGR\ElasticsearchBundle\Result\ArrayIterator |
|
| 380 | 380 | */ |
| 381 | 381 | public function getProfileSettings($profile) |
| 382 | 382 | { |
@@ -30,6 +30,9 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | private $setting; |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param \ONGR\SettingsBundle\Document\Setting $setting |
|
| 35 | + */ |
|
| 33 | 36 | public function __construct($name, array $data = null, $setting = null) |
| 34 | 37 | { |
| 35 | 38 | $this->name = $name; |