Completed
Pull Request — master (#18)
by Jesus
02:13
created
src/BigBlueButton.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.