Skip to content

Commit 7f44a11

Browse files
committed
Removed useless condition
1 parent e55c465 commit 7f44a11

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/Github/Client.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ class Client
7272
*/
7373
public function __construct(HttpClientInterface $httpClient = null)
7474
{
75-
if (null !== $httpClient) {
76-
$this->httpClient = $httpClient;
77-
}
75+
$this->httpClient = $httpClient;
7876
}
7977

8078
/**

0 commit comments

Comments
 (0)