@@ -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 | */  | 
                                                        
@@ -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;  | 
                                                        
@@ -201,6 +201,9 @@  | 
                                                    ||
| 201 | 201 | $this->processor = new AliasProcessor();  | 
                                                        
| 202 | 202 | }  | 
                                                        
| 203 | 203 | |
| 204 | + /**  | 
                                                        |
| 205 | + * @param string $name  | 
                                                        |
| 206 | + */  | 
                                                        |
| 204 | 207 | private function getMockedIndex($name)  | 
                                                        
| 205 | 208 |      { | 
                                                        
| 206 | 209 |          $index = $this->getMockBuilder('FOS\\ElasticaBundle\\Elastica\\Index') | 
                                                        
@@ -74,7 +74,7 @@  | 
                                                    ||
| 74 | 74 | * @param null|int $limit  | 
                                                        
| 75 | 75 | * @param array $options  | 
                                                        
| 76 | 76 | *  | 
                                                        
| 77 | - * @return array  | 
                                                        |
| 77 | + * @return \Elastica\Result[]  | 
                                                        |
| 78 | 78 | */  | 
                                                        
| 79 | 79 | protected function search($query, $limit = null, $options = [])  | 
                                                        
| 80 | 80 |      { |