@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | */ |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | - * @param $createMeetingParams CreateMeetingParameters |
|
| 79 | + * @param CreateMeetingParameters $createMeetingParams CreateMeetingParameters |
|
| 80 | 80 | * |
| 81 | 81 | * @return string |
| 82 | 82 | */ |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | /** |
| 290 | 290 | * A private utility method used by other public methods to process XML responses. |
| 291 | 291 | * |
| 292 | - * @param $url |
|
| 292 | + * @param string $url |
|
| 293 | 293 | * @param string $xml |
| 294 | 294 | * @return SimpleXMLElement |
| 295 | 295 | * @throws \RuntimeException |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | if (extension_loaded('curl')) { |
| 300 | 300 | $ch = curl_init(); |
| 301 | 301 | if (!$ch) { |
| 302 | - throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch)); |
|
| 302 | + throw new \RuntimeException('Unhandled curl error: '.curl_error($ch)); |
|
| 303 | 303 | } |
| 304 | 304 | $timeout = 10; |
| 305 | 305 | curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); |
@@ -314,12 +314,12 @@ discard block |
||
| 314 | 314 | curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); |
| 315 | 315 | curl_setopt($ch, CURLOPT_HTTPHEADER, [ |
| 316 | 316 | 'Content-type: application/xml', |
| 317 | - 'Content-length: ' . strlen($xml), |
|
| 317 | + 'Content-length: '.strlen($xml), |
|
| 318 | 318 | ]); |
| 319 | 319 | } |
| 320 | 320 | $data = curl_exec($ch); |
| 321 | 321 | if ($data === false) { |
| 322 | - throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch)); |
|
| 322 | + throw new \RuntimeException('Unhandled curl error: '.curl_error($ch)); |
|
| 323 | 323 | } |
| 324 | 324 | curl_close($ch); |
| 325 | 325 | |