Skip to content

Commit 297abaa

Browse files
Fixing issue with ApiRequest::$content default value in PHP 8+.
1 parent 50c9679 commit 297abaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Request/ApiRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ApiRequest implements ApiRequestInterface
1414
{
1515
protected string $method = 'GET';
1616

17-
protected mixed $content;
17+
protected mixed $content = null;
1818

1919
protected string $contentType = 'application/json';
2020

0 commit comments

Comments
 (0)