Completed
Pull Request — master (#1550)
by Massimiliano
05:55 queued 03:51
created
lib/Elastica/Transport/AbstractTransport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      *
67 67
      * @param string $query
68 68
      *
69
-     * @return mixed
69
+     * @return string
70 70
      */
71 71
     public function sanityzeQueryStringBool($query)
72 72
     {
Please login to merge, or discard this patch.
lib/Elastica/Suggest/Term.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      * - jaro_winkler
138 138
      * - ngram
139 139
      *
140
-     * @param string $distanceAlgrorithm
140
+     * @param string $distanceAlgorithm
141 141
      *
142 142
      * @return $this
143 143
      */
Please login to merge, or discard this patch.
lib/Elastica/Transport/NullTransport.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,9 +26,8 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Set response object the transport returns.
28 28
      *
29
-     * @param \Elastica\Response $response
30 29
      *
31
-     * @return $this
30
+     * @return Response
32 31
      */
33 32
     public function getResponse()
34 33
     {
@@ -40,7 +39,7 @@  discard block
 block discarded – undo
40 39
      *
41 40
      * @param \Elastica\Response $response
42 41
      *
43
-     * @return $this
42
+     * @return Response
44 43
      */
45 44
     public function setResponse(Response $response)
46 45
     {
Please login to merge, or discard this patch.
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|Index $index
130
+     * @param string $index
131 131
      *
132 132
      * @return $this
133 133
      */
Please login to merge, or discard this patch.
lib/Elastica/Bulk/Action/AbstractDocument.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function getDocument()
85 85
     {
86
-        if (! $this->_data instanceof Document) {
86
+        if (!$this->_data instanceof Document) {
87 87
             return null;
88 88
         }
89 89
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function getScript()
99 99
     {
100
-        if (! $this->_data instanceof AbstractScript) {
100
+        if (!$this->_data instanceof AbstractScript) {
101 101
             return null;
102 102
         }
103 103
 
Please login to merge, or discard this patch.