@@ -55,7 +55,7 @@ |
||
| 55 | 55 | { |
| 56 | 56 | if (count($this->meta) !== 0) { |
| 57 | 57 | foreach ($this->meta as $k => $v) { |
| 58 | - $queries['meta_' . $k] = $v; |
|
| 58 | + $queries['meta_'.$k] = $v; |
|
| 59 | 59 | } |
| 60 | 60 | } |
| 61 | 61 | } |
@@ -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 | } |
@@ -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) { |