Completed
Push — master ( 99caf6...b741c4 )
by Ghazi
01:40
created
src/BigBlueButton.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
         if (extension_loaded('curl')) {
385 385
             $ch = curl_init();
386 386
             if (!$ch) {
387
-                throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch));
387
+                throw new \RuntimeException('Unhandled curl error: '.curl_error($ch));
388 388
             }
389 389
             $timeout = 10;
390 390
 
@@ -405,13 +405,13 @@  discard block
 block discarded – undo
405 405
                 curl_setopt($ch, CURLOPT_POST, 1);
406 406
                 curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
407 407
                 curl_setopt($ch, CURLOPT_HTTPHEADER, [
408
-                    'Content-type: ' . $contentType,
409
-                    'Content-length: ' . mb_strlen($payload),
408
+                    'Content-type: '.$contentType,
409
+                    'Content-length: '.mb_strlen($payload),
410 410
                 ]);
411 411
             }
412 412
             $data = curl_exec($ch);
413 413
             if ($data === false) {
414
-                throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch));
414
+                throw new \RuntimeException('Unhandled curl error: '.curl_error($ch));
415 415
             }
416 416
             curl_close($ch);
417 417
 
Please login to merge, or discard this patch.