Skip to content

Commit 10a728f

Browse files
committed
Merge pull request KnpLabs#34 from gonzaloserrano/master
Fix HttpClient instance in authenticate after last refactor.
2 parents 3cb9b2c + 8313981 commit 10a728f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function authenticate($tokenOrLogin, $password = null, $authMethod = null
161161
$password = null;
162162
}
163163

164-
$this->httpClient->authenticate($tokenOrLogin, $password, $authMethod);
164+
$this->getHttpClient()->authenticate($tokenOrLogin, $password, $authMethod);
165165
}
166166

167167
/**

0 commit comments

Comments
 (0)