Completed
Pull Request — master (#44)
by
unknown
04:09
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.
src/Parameters/CreateMeetingParameters.php 1 patch
Indentation   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -143,14 +143,14 @@  discard block
 block discarded – undo
143 143
      */
144 144
     private $lockSettingsDisableNote;
145 145
 
146
-	/**
147
-	 * @var bool
148
-	 */
149
-	private $lockSettingsHideUserList;
150
-
151
-	/**
152
-	 * @var bool
153
-     */
146
+ /**
147
+  * @var bool
148
+  */
149
+ private $lockSettingsHideUserList;
150
+
151
+ /**
152
+  * @var bool
153
+  */
154 154
     private $lockSettingsLockedLayout;
155 155
 
156 156
     /**
@@ -158,14 +158,14 @@  discard block
 block discarded – undo
158 158
      */
159 159
     private $lockSettingsLockOnJoin = true;
160 160
 
161
-	/**
162
-	 * @var bool
163
-	 */
164
-	private $lockSettingsLockOnJoinConfigurable;
161
+ /**
162
+  * @var bool
163
+  */
164
+ private $lockSettingsLockOnJoinConfigurable;
165 165
 
166
-	/**
167
-	 * @var array
168
-     */
166
+ /**
167
+  * @var array
168
+  */
169 169
     private $presentations = [];
170 170
 
171 171
     /**
@@ -671,29 +671,29 @@  discard block
 block discarded – undo
671 671
         return $this;
672 672
     }
673 673
 
674
-	/**
675
-	 * @return bool
676
-	 */
677
-	public function isLockSettingsHideUserList()
678
-	{
679
-		return $this->lockSettingsHideUserList;
680
-	}
674
+ /**
675
+  * @return bool
676
+  */
677
+ public function isLockSettingsHideUserList()
678
+ {
679
+  return $this->lockSettingsHideUserList;
680
+ }
681 681
 
682
-	/**
683
-	 * @param  bool                    $lockSettingsHideUserList
684
-	 * @return CreateMeetingParameters
685
-	 */
686
-	public function setLockSettingsHideUserList($lockSettingsHideUserList)
687
-	{
688
-		$this->lockSettingsHideUserList = $lockSettingsHideUserList;
682
+ /**
683
+  * @param  bool                    $lockSettingsHideUserList
684
+  * @return CreateMeetingParameters
685
+  */
686
+ public function setLockSettingsHideUserList($lockSettingsHideUserList)
687
+ {
688
+  $this->lockSettingsHideUserList = $lockSettingsHideUserList;
689 689
 
690
-		return $this;
691
-	}
690
+  return $this;
691
+ }
692 692
 
693
-	/**
694
-	 * @return bool
695
-	 */
696
-	public function isLockSettingsLockedLayout()
693
+ /**
694
+  * @return bool
695
+  */
696
+ public function isLockSettingsLockedLayout()
697 697
     {
698 698
         return $this->lockSettingsLockedLayout;
699 699
     }
@@ -728,29 +728,29 @@  discard block
 block discarded – undo
728 728
         return $this;
729 729
     }
730 730
 
731
-	/**
732
-	 * @return bool
733
-	 */
734
-	public function isLockSettingsLockOnJoinConfigurable()
735
-	{
736
-		return $this->lockSettingsLockOnJoinConfigurable;
737
-	}
731
+ /**
732
+  * @return bool
733
+  */
734
+ public function isLockSettingsLockOnJoinConfigurable()
735
+ {
736
+  return $this->lockSettingsLockOnJoinConfigurable;
737
+ }
738 738
 
739
-	/**
740
-	 * @param  bool                    $lockOnJoinConfigurable
741
-	 * @return CreateMeetingParameters
742
-	 */
743
-	public function setLockSettingsLockOnJoinConfigurable($lockOnJoinConfigurable)
744
-	{
745
-		$this->lockSettingsLockOnJoinConfigurable = $lockOnJoinConfigurable;
739
+ /**
740
+  * @param  bool                    $lockOnJoinConfigurable
741
+  * @return CreateMeetingParameters
742
+  */
743
+ public function setLockSettingsLockOnJoinConfigurable($lockOnJoinConfigurable)
744
+ {
745
+  $this->lockSettingsLockOnJoinConfigurable = $lockOnJoinConfigurable;
746 746
 
747
-		return $this;
748
-	}
747
+  return $this;
748
+ }
749 749
 
750
-	/**
751
-	 * @param $endCallbackUrl
752
-	 * @return CreateMeetingParameters
753
-     */
750
+ /**
751
+  * @param $endCallbackUrl
752
+  * @return CreateMeetingParameters
753
+  */
754 754
     public function setEndCallbackUrl($endCallbackUrl)
755 755
     {
756 756
         $this->addMeta('endCallbackUrl', $endCallbackUrl);
Please login to merge, or discard this patch.