Skip to content

Commit

Permalink
Removed redundant conditional.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Oct 14, 2018
1 parent 491ce1c commit 572f0d5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Client
*
* @var \GuzzleHttp\Client
*/
protected $client = null;
protected $client;

/**
* Client configuration.
Expand Down Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 572f0d5

Please sign in to comment.