Completed
Pull Request — master (#1173)
by Aaron
03:54
created
lib/Elastica/Bulk/Action.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     }
128 128
 
129 129
     /**
130
-     * @param string|\Elastica\Index $index
130
+     * @param string $index
131 131
      *
132 132
      * @return $this
133 133
      */
Please login to merge, or discard this patch.
lib/Elastica/JSON.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
      * @link http://php.net/manual/en/function.json-decode.php
15 15
      * @link http://php.net/manual/en/function.json-last-error.php
16 16
      *
17
-     * @param string $json JSON string to parse
18 17
      *
19 18
      * @return array PHP array representation of JSON string
20 19
      */
Please login to merge, or discard this patch.
lib/Elastica/Node/Info.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      * node is running on
62 62
      * Example 2: get('os', 'mem') returns an array with all mem infos
63 63
      *
64
-     * @return mixed Data array entry or null if not found
64
+     * @return string Data array entry or null if not found
65 65
      */
66 66
     public function get()
67 67
     {
Please login to merge, or discard this patch.
lib/Elastica/QueryBuilder/DSL/Filter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
      *
197 197
      * @param string       $key       The field on which to filter
198 198
      * @param array|string $location  Location as coordinates array or geohash string ['lat' => 40.3, 'lon' => 45.2]
199
-     * @param int|string   $precision length of geohash prefix or distance (3, or "50m")
199
+     * @param integer   $precision length of geohash prefix or distance (3, or "50m")
200 200
      * @param bool         $neighbors If true, filters cells next to the given cell.
201 201
      *
202 202
      * @return GeohashCell
Please login to merge, or discard this patch.
lib/Elastica/Query/MoreLikeThis.php 1 patch
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@  discard block
 block discarded – undo
31 31
      * @param array $ids Document ids
32 32
      *
33 33
      * @deprecated Option "ids" deprecated as of ES 2.0.0-beta1 and will be removed in further Elastica releases. Use "like" instead.
34
-     
35 34
      * @return \Elastica\Query\MoreLikeThis Current object
36 35
      */
37 36
     public function setIds(array $ids)
@@ -57,7 +56,6 @@  discard block
 block discarded – undo
57 56
      * @param string $likeText
58 57
      *
59 58
      * @deprecated Option "like_text" deprecated as of ES 2.0.0-beta1 and will be removed at further Elastica releases. Use "like" instead.
60
-     
61 59
      * @return $this
62 60
      */
63 61
     public function setLikeText($likeText)
Please login to merge, or discard this patch.
lib/Elastica/Filter/AbstractMulti.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     protected $_filters = array();
21 21
 
22 22
     /**
23
-     * @param array $filters
23
+     * @param AbstractFilter[] $filters
24 24
      */
25 25
     public function __construct(array $filters = array())
26 26
     {
Please login to merge, or discard this patch.
lib/Elastica/Filter/GeohashCell.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * @param string       $key       The field on which to filter
17 17
      * @param array|string $location  Location as coordinates array or geohash string ['lat' => 40.3, 'lon' => 45.2]
18
-     * @param string|int   $precision Integer length of geohash prefix or distance (3, or "50m")
18
+     * @param integer   $precision Integer length of geohash prefix or distance (3, or "50m")
19 19
      * @param bool         $neighbors If true, filters cells next to the given cell.
20 20
      */
21 21
     public function __construct($key, $location, $precision = -1, $neighbors = false)
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * Set the precision for this filter.
30 30
      *
31
-     * @param string|int $precision Integer length of geohash prefix or distance (3, or "50m")
31
+     * @param integer $precision Integer length of geohash prefix or distance (3, or "50m")
32 32
      *
33 33
      * @return $this
34 34
      */
Please login to merge, or discard this patch.
lib/Elastica/Filter/HasParent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      * Construct HasParent filter.
17 17
      *
18 18
      * @param string|\Elastica\Query|\Elastica\Filter\AbstractFilter $query Query string or a Query object or a filter
19
-     * @param string|\Elastica\Type                                  $type  Parent document type
19
+     * @param string                                  $type  Parent document type
20 20
      */
21 21
     public function __construct($query, $type)
22 22
     {
Please login to merge, or discard this patch.
lib/Elastica/Filter/Indices.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 {
17 17
     /**
18 18
      * @param AbstractFilter $filter  filter which will be applied to docs in the specified indices
19
-     * @param mixed[]        $indices
19
+     * @param string[]        $indices
20 20
      */
21 21
     public function __construct(AbstractFilter $filter, array $indices)
22 22
     {
Please login to merge, or discard this patch.