declared class properties

This commit is contained in:
benson
2023-04-29 21:15:52 +08:00
parent 13fd802180
commit a197f66d6d
16 changed files with 65 additions and 14 deletions

View File

@@ -7,6 +7,7 @@ use Symfony\Component\HttpClient\HttpClient;
final class Client
{
private $client;
public function __construct(?array $options = null)
{
$this->client = HttpClient::create($this->configure($options));