Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 0ff1069

Browse files
committed
Declare strict types
1 parent 1e170d9 commit 0ff1069

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Client.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6;
46

57
use GuzzleHttp\Client as GuzzleClient;
@@ -23,7 +25,7 @@ final class Client implements HttpClient, HttpAsyncClient
2325
*/
2426
private $client;
2527

26-
public function __construct(ClientInterface $client = null)
28+
public function __construct(?ClientInterface $client = null)
2729
{
2830
if (!$client) {
2931
$client = self::buildClient();

0 commit comments

Comments
 (0)