Completed
Pull Request — master (#1307)
by Dariusz
08:59
created
Tests/Logger/ElasticaLoggerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
Tests/Doctrine/AbstractElasticaToModelTransformerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -256,6 +256,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Finder/TransformedFinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Tests/Index/AliasProcessorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -211,6 +211,9 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.