| @@ -69,7 +69,7 @@ | ||
| 69 | 69 | * @param null|int $limit | 
| 70 | 70 | * @param array $options | 
| 71 | 71 | * | 
| 72 | - * @return array | |
| 72 | + * @return \Elastica\Result[] | |
| 73 | 73 | */ | 
| 74 | 74 | protected function search($query, $limit = null, $options = array()) | 
| 75 | 75 |      { | 
| @@ -22,7 +22,7 @@ | ||
| 22 | 22 | /** | 
| 23 | 23 | * @param string $level | 
| 24 | 24 | * @param string $message | 
| 25 | - * @param array $context | |
| 25 | + * @param string[] $context | |
| 26 | 26 | * | 
| 27 | 27 | * @return ElasticaLogger | 
| 28 | 28 | */ | 
| @@ -3,7 +3,6 @@ | ||
| 3 | 3 | namespace FOS\ElasticaBundle\Transformer; | 
| 4 | 4 | |
| 5 | 5 | use FOS\ElasticaBundle\HybridResult; | 
| 6 | -use Elastica\Document; | |
| 7 | 6 | |
| 8 | 7 | /** | 
| 9 | 8 | * Holds a collection of transformers for an index wide transformation. | 
| @@ -256,6 +256,9 @@ | ||
| 256 | 256 | public $id; | 
| 257 | 257 | public $highlights; | 
| 258 | 258 | |
| 259 | + /** | |
| 260 | + * @param integer $id | |
| 261 | + */ | |
| 259 | 262 | public function __construct($id) | 
| 260 | 263 |      { | 
| 261 | 264 | $this->id = $id; |