@@ -439,7 +439,6 @@ discard block |
||
439 | 439 | } |
440 | 440 | |
441 | 441 | /** |
442 | - * @param string $message |
|
443 | 442 | * |
444 | 443 | * @return CreateMeetingParameters |
445 | 444 | */ |
@@ -459,7 +458,6 @@ discard block |
||
459 | 458 | } |
460 | 459 | |
461 | 460 | /** |
462 | - * @param string $message |
|
463 | 461 | * |
464 | 462 | * @return CreateMeetingParameters |
465 | 463 | */ |
@@ -42,10 +42,10 @@ |
||
42 | 42 | public function addNamespace($prefix, $baseDir, $prepend = false) |
43 | 43 | { |
44 | 44 | // normalize namespace prefix |
45 | - $prefix = trim($prefix, '\\') . '\\'; |
|
45 | + $prefix = trim($prefix, '\\').'\\'; |
|
46 | 46 | |
47 | 47 | // normalize the base directory with a trailing separator |
48 | - $baseDir = rtrim($baseDir, DIRECTORY_SEPARATOR) . '/'; |
|
48 | + $baseDir = rtrim($baseDir, DIRECTORY_SEPARATOR).'/'; |
|
49 | 49 | |
50 | 50 | // initialize the namespace prefix array |
51 | 51 | if (isset($this->prefixes[$prefix]) === false) { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | public function __construct($securitySalt = '', $bbbServerBaseUrl = '') |
58 | 58 | { |
59 | 59 | $this->securitySalt = !empty($securitySalt) ? $securitySalt : getenv('BBB_SECURITY_SALT'); |
60 | - $this->bbbServerBaseUrl = !empty($bbbServerBaseUrl) ? $bbbServerBaseUrl :getenv('BBB_SERVER_BASE_URL'); |
|
60 | + $this->bbbServerBaseUrl = !empty($bbbServerBaseUrl) ? $bbbServerBaseUrl : getenv('BBB_SERVER_BASE_URL'); |
|
61 | 61 | $this->urlBuilder = new UrlBuilder($this->securitySalt, $this->bbbServerBaseUrl); |
62 | 62 | } |
63 | 63 | |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | if (extension_loaded('curl')) { |
363 | 363 | $ch = curl_init(); |
364 | 364 | if (!$ch) { |
365 | - throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch)); |
|
365 | + throw new \RuntimeException('Unhandled curl error: '.curl_error($ch)); |
|
366 | 366 | } |
367 | 367 | $timeout = 10; |
368 | 368 | curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); |
@@ -376,13 +376,13 @@ discard block |
||
376 | 376 | curl_setopt($ch, CURLOPT_POST, 1); |
377 | 377 | curl_setopt($ch, CURLOPT_POSTFIELDS, $payload); |
378 | 378 | curl_setopt($ch, CURLOPT_HTTPHEADER, [ |
379 | - 'Content-type: ' . $contentType, |
|
380 | - 'Content-length: ' . strlen($payload), |
|
379 | + 'Content-type: '.$contentType, |
|
380 | + 'Content-length: '.strlen($payload), |
|
381 | 381 | ]); |
382 | 382 | } |
383 | 383 | $data = curl_exec($ch); |
384 | 384 | if ($data === false) { |
385 | - throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch)); |
|
385 | + throw new \RuntimeException('Unhandled curl error: '.curl_error($ch)); |
|
386 | 386 | } |
387 | 387 | curl_close($ch); |
388 | 388 | |
@@ -398,7 +398,7 @@ discard block |
||
398 | 398 | |
399 | 399 | return new SimpleXMLElement($response); |
400 | 400 | } catch (\RuntimeException $e) { |
401 | - throw new \RuntimeException('Failover curl error: ' . $e->getMessage()); |
|
401 | + throw new \RuntimeException('Failover curl error: '.$e->getMessage()); |
|
402 | 402 | } |
403 | 403 | } |
404 | 404 | } |