Completed
Pull Request — master (#1125)
by
unknown
05:37
created
Finder/TransformedFinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
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.
Transformer/ElasticaToModelTransformerCollection.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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.
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.
Tests/Index/AliasProcessorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -201,6 +201,9 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.
Propel/Listener.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * Looks for new objects that should be indexed.
17 17
      *
18
-     * @param ModelEvent $eventArgs
18
+     * @param ModelEvent $event
19 19
      */
20 20
     public function onModelInsertPost(ModelEvent $event)
21 21
     {
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Looks for objects being updated that should be indexed or removed from the index.
27 27
      *
28
-     * @param ModelEvent $eventArgs
28
+     * @param ModelEvent $event
29 29
      */
30 30
     public function onModelUpdatePost(ModelEvent $event)
31 31
     {
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param ModelEvent $eventArgs
36
+     * @param ModelEvent $event
37 37
      */
38 38
     public function onModelDeletePre(ModelEvent $event)
39 39
     {
Please login to merge, or discard this patch.