Skip to content

Commit 35ffafb

Browse files
committed
Make $baseUrl and $secret required in the static factory.
1 parent 7fc37de commit 35ffafb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BigBlueButton.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ public static function createWithHttpClient(
152152
ClientInterface $httpClient,
153153
RequestFactoryInterface $requestFactory,
154154
StreamFactoryInterface $streamFactory,
155-
?string $baseUrl = null,
156-
?string $secret = null,
155+
string $baseUrl,
156+
string $secret,
157157
): static {
158158
$instance = new static($baseUrl, $secret);
159159
$instance->httpClient = $httpClient;

0 commit comments

Comments
 (0)