@@ -27,7 +27,6 @@ |
||
27 | 27 | use BigBlueButton\Parameters\IsMeetingRunningParameters; |
28 | 28 | use BigBlueButton\Parameters\JoinMeetingParameters; |
29 | 29 | use BigBlueButton\Parameters\PublishRecordingsParameters; |
30 | -use BigBlueButton\Parameters\SetConfigXMLParameters; |
|
31 | 30 | use BigBlueButton\Parameters\UpdateRecordingsParameters; |
32 | 31 | use BigBlueButton\Responses\ApiVersionResponse; |
33 | 32 | use BigBlueButton\Responses\CreateMeetingResponse; |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | if (extension_loaded('curl')) { |
364 | 364 | $ch = curl_init(); |
365 | 365 | if (!$ch) { |
366 | - throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch)); |
|
366 | + throw new \RuntimeException('Unhandled curl error: '.curl_error($ch)); |
|
367 | 367 | } |
368 | 368 | $timeout = 10; |
369 | 369 | curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); |
@@ -377,13 +377,13 @@ discard block |
||
377 | 377 | curl_setopt($ch, CURLOPT_POST, 1); |
378 | 378 | curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); |
379 | 379 | curl_setopt($ch, CURLOPT_HTTPHEADER, [ |
380 | - 'Content-type: ' . $contentType, |
|
381 | - 'Content-length: ' . strlen($xml), |
|
380 | + 'Content-type: '.$contentType, |
|
381 | + 'Content-length: '.strlen($xml), |
|
382 | 382 | ]); |
383 | 383 | } |
384 | 384 | $data = curl_exec($ch); |
385 | 385 | if ($data === false) { |
386 | - throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch)); |
|
386 | + throw new \RuntimeException('Unhandled curl error: '.curl_error($ch)); |
|
387 | 387 | } |
388 | 388 | curl_close($ch); |
389 | 389 | |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | |
398 | 398 | return new SimpleXMLElement($response); |
399 | 399 | } catch (Exception $e) { |
400 | - throw new \RuntimeException('Failover curl error: ' . $e->getMessage()); |
|
400 | + throw new \RuntimeException('Failover curl error: '.$e->getMessage()); |
|
401 | 401 | } |
402 | 402 | } |
403 | 403 | } |