Skip to content

Commit e5caee1

Browse files
authored
Merge pull request #1 from GrahamCampbell/php84-fix
Fix PHP 8.4 compatibility
2 parents 0bfdb7d + ee44d69 commit e5caee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BrefCloudClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class BrefCloudClient
1616
public readonly string $url;
1717
private HttpClientInterface $client;
1818

19-
public function __construct(string $token = null)
19+
public function __construct(?string $token = null)
2020
{
2121
$this->url = self::getUrl();
2222
if ($token === null) {

0 commit comments

Comments
 (0)