We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76e8ca9 commit 986058aCopy full SHA for 986058a
src/Helpers/ApiHelper.php
@@ -19,7 +19,7 @@ class ApiHelper
19
20
public function __construct(
21
private ?string $domain = 'https://explainmysql.com',
22
- Client $client = null,
+ ?Client $client = null,
23
) {
24
$this->client = $client ?? new Client();
25
}
src/Values/QueryMetrics.php
@@ -55,8 +55,8 @@ public function __construct(
55
string $version,
56
array $explainTraditional,
57
string $explainJson,
58
- string $explainTree = null,
59
- array $warnings = null,
+ ?string $explainTree = null,
+ ?array $warnings = null,
60
61
$this->query = $query;
62
$this->version = $version;
0 commit comments