From 572f0d5868f390afe42462d9715ab1710d4e9754 Mon Sep 17 00:00:00 2001 From: denpamusic Date: Mon, 15 Oct 2018 01:06:45 +0300 Subject: [PATCH] Removed redundant conditional. --- src/Client.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Client.php b/src/Client.php index f9c5bf1..4c8c115 100644 --- a/src/Client.php +++ b/src/Client.php @@ -19,7 +19,7 @@ class Client * * @var \GuzzleHttp\Client */ - protected $client = null; + protected $client; /** * Client configuration. @@ -91,10 +91,7 @@ public function __destruct() */ public function getConfig($option = null) { - return ( - isset($this->client) && - $this->client instanceof ClientInterface - ) ? $this->client->getConfig($option) : null; + return $this->client->getConfig($option); } /**