Completed
Pull Request — master (#44)
by
unknown
01:34
created
src/Util/UrlBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function buildUrl($method = '', $params = '', $append = true)
58 58
     {
59
-        return $this->bbbServerBaseUrl . 'api/' . $method . ($append ? '?' . $this->buildQs($method, $params) : '');
59
+        return $this->bbbServerBaseUrl.'api/'.$method.($append ? '?'.$this->buildQs($method, $params) : '');
60 60
     }
61 61
 
62 62
     /**
@@ -69,6 +69,6 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function buildQs($method = '', $params = '')
71 71
     {
72
-        return $params . '&checksum=' . sha1($method . $params . $this->securitySalt);
72
+        return $params.'&checksum='.sha1($method.$params.$this->securitySalt);
73 73
     }
74 74
 }
Please login to merge, or discard this patch.
src/Parameters/MetaParameters.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,9 +56,9 @@
 block discarded – undo
56 56
         if (count($this->meta) !== 0) {
57 57
             foreach ($this->meta as $k => $v) {
58 58
                 if (!is_bool($v)) {
59
-                    $queries['meta_' . $k] = $v;
59
+                    $queries['meta_'.$k] = $v;
60 60
                 } else {
61
-                    $queries['meta_' . $k] = $v ? 'true' : 'false';
61
+                    $queries['meta_'.$k] = $v ? 'true' : 'false';
62 62
                 }
63 63
             }
64 64
         }
Please login to merge, or discard this patch.
src/Parameters/UserDataParameters.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,9 +56,9 @@
 block discarded – undo
56 56
         if (count($this->userData) !== 0) {
57 57
             foreach ($this->userData as $k => $v) {
58 58
                 if (!is_bool($v)) {
59
-                    $queries['userdata-' . $k] = $v;
59
+                    $queries['userdata-'.$k] = $v;
60 60
                 } else {
61
-                    $queries['userdata-' . $k] = $v ? 'true' : 'false';
61
+                    $queries['userdata-'.$k] = $v ? 'true' : 'false';
62 62
                 }
63 63
             }
64 64
         }
Please login to merge, or discard this patch.
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.