Completed
Pull Request — master (#188)
by
unknown
01:43 queued 01:30
created
src/BigBlueButton.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
         if (extension_loaded('curl')) {
483 483
             $ch = curl_init();
484 484
             if (!$ch) {
485
-                throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch));
485
+                throw new \RuntimeException('Unhandled curl error: '.curl_error($ch));
486 486
             }
487 487
 
488 488
             // Needed to store the JSESSIONID
@@ -506,17 +506,17 @@  discard block
 block discarded – undo
506 506
                 curl_setopt($ch, CURLOPT_POST, 1);
507 507
                 curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
508 508
                 curl_setopt($ch, CURLOPT_HTTPHEADER, [
509
-                    'Content-type: ' . $contentType,
510
-                    'Content-length: ' . mb_strlen($payload),
509
+                    'Content-type: '.$contentType,
510
+                    'Content-length: '.mb_strlen($payload),
511 511
                 ]);
512 512
             }
513 513
             $data = curl_exec($ch);
514 514
             if (false === $data) {
515
-                throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch));
515
+                throw new \RuntimeException('Unhandled curl error: '.curl_error($ch));
516 516
             }
517 517
             $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
518 518
             if ($httpcode < 200 || $httpcode >= 300) {
519
-                throw new BadResponseException('Bad response, HTTP code: ' . $httpcode);
519
+                throw new BadResponseException('Bad response, HTTP code: '.$httpcode);
520 520
             }
521 521
             curl_close($ch);
522 522
             unset($ch);
Please login to merge, or discard this patch.