Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Sep 3, 2024
1 parent 78fba58 commit 92216ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Client/Request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @final since 1.7.0, real final in 2.0
*/
class Request implements RequestInterface
readonly class Request implements RequestInterface
{
/**
* HTTP GET method.
Expand All @@ -38,9 +38,9 @@ class Request implements RequestInterface
* @param array<string, string> $curlPostFields array for CURLOPT_POSTFIELDS curl argument
*/
public function __construct(
private readonly string $apiUrl,
private readonly string $method,
private readonly ?array $curlPostFields = [],
private string $apiUrl,
private string $method,
private array $curlPostFields = [],
) {
}

Expand Down

0 comments on commit 92216ac

Please sign in to comment.