@@ -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 | { |
@@ -208,6 +208,7 @@ discard block |
||
208 | 208 | /** |
209 | 209 | * Write data to the socket input stream. |
210 | 210 | * @param string |
211 | + * @param string $data |
|
211 | 212 | * |
212 | 213 | * @return VarnishSocket |
213 | 214 | * |
@@ -233,7 +234,7 @@ discard block |
||
233 | 234 | |
234 | 235 | /** |
235 | 236 | * Write a command to the socket with a trailing line break and get response straight away. |
236 | - * @param $cmd |
|
237 | + * @param string $cmd |
|
237 | 238 | * @param int $ok |
238 | 239 | * |
239 | 240 | * @return string |