@@ -66,7 +66,7 @@ |
||
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 | { |
@@ -137,7 +137,7 @@ |
||
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 | */ |
@@ -26,9 +26,8 @@ discard block |
||
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 |
||
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 | { |
@@ -127,7 +127,7 @@ |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | /** |
130 | - * @param string|Index $index |
|
130 | + * @param string $index |
|
131 | 131 | * |
132 | 132 | * @return $this |
133 | 133 | */ |
@@ -83,7 +83,7 @@ discard block |
||
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 |
||
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 |