@@ -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; |
@@ -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 | { |
@@ -211,6 +211,9 @@ |
||
211 | 211 | ]; |
212 | 212 | } |
213 | 213 | |
214 | + /** |
|
215 | + * @param string $name |
|
216 | + */ |
|
214 | 217 | private function getMockedIndex($name) |
215 | 218 | { |
216 | 219 | $index = $this->getMockBuilder('FOS\\ElasticaBundle\\Elastica\\Index') |