@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | /** |
16 | 16 | * @param string|array $host |
17 | 17 | * |
18 | - * @return bool |
|
18 | + * @return boolean|null |
|
19 | 19 | * |
20 | 20 | * @throws \Exception |
21 | 21 | */ |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @return bool|mixed|string |
|
94 | + * @return string |
|
95 | 95 | */ |
96 | 96 | public function getSecret() |
97 | 97 | { |
@@ -207,6 +207,7 @@ discard block |
||
207 | 207 | /** |
208 | 208 | * Write data to the socket input stream |
209 | 209 | * @param string |
210 | + * @param string $data |
|
210 | 211 | * |
211 | 212 | * @return VarnishSocket |
212 | 213 | * |
@@ -231,7 +232,7 @@ discard block |
||
231 | 232 | |
232 | 233 | /** |
233 | 234 | * Write a command to the socket with a trailing line break and get response straight away |
234 | - * @param $cmd |
|
235 | + * @param string $cmd |
|
235 | 236 | * @param int $ok |
236 | 237 | * |
237 | 238 | * @return string |