Skip to content

Commit 9448655

Browse files
committed
made realm and ticket optional
1 parent 7c20b62 commit 9448655

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testkit-backend/src/Requests/AuthorizationTokenRequest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ public function __construct(
2525
string $scheme,
2626
string $principal,
2727
string $credentials,
28-
string $realm,
29-
string $ticket
28+
string $realm = null,
29+
string $ticket = null
3030
) {
3131
$this->scheme = $scheme;
3232
$this->principal = $principal;
3333
$this->credentials = $credentials;
34-
$this->realm = $realm;
35-
$this->ticket = $ticket;
34+
$this->realm = $realm ?? '';
35+
$this->ticket = $ticket ?? '';
3636
}
3737

3838
public function getScheme(): string

0 commit comments

Comments
 (0)