We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16eea90 commit 431046bCopy full SHA for 431046b
src/BigBlueButton.php
@@ -78,7 +78,7 @@ class BigBlueButton
78
public function __construct(?string $baseUrl = null, ?string $secret = null, ?array $opts = [])
79
{
80
// Provide an early error message if configuration is wrong
81
- if (is_null($secret) && false === getenv('BBB_SERVER_BASE_URL')) {
+ if (is_null($baseUrl) && false === getenv('BBB_SERVER_BASE_URL')) {
82
throw new \RuntimeException('No BBB-Server-Url found! Please provide it either in constructor ' .
83
"(1st argument) or by environment variable 'BBB_SERVER_BASE_URL'!");
84
}
0 commit comments