Skip to content

Commit d02d985

Browse files
committed
Updated BearerAuthorizationHeader __constructor
$token argument default value is '' (empty string)
1 parent 08894ff commit d02d985

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/headers/BearerAuthorizationHeader.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
class BearerAuthorizationHeader extends AbstractAuthorizationHeader
66
{
77
private $token;
8-
public function __construct(string $token)
8+
9+
public function __construct(string $token = '')
910
{
1011
$this->token = $token;
1112
}

0 commit comments

Comments
 (0)