Skip to content

Commit 0fdecef

Browse files
Returns
1 parent 2054e20 commit 0fdecef

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/Github/Client.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ public function api($name)
302302
* @param string|null $authMethod One of the AUTH_* class constants
303303
*
304304
* @throws InvalidArgumentException If no authentication method was given
305+
*
306+
* @return void
305307
*/
306308
public function authenticate($tokenOrLogin, $password = null, $authMethod = null)
307309
{

lib/Github/HttpClient/Plugin/Authentication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function handleRequest(RequestInterface $request, callable $next, callabl
5555
return $next($request);
5656
}
5757

58-
private function getAuthorizationHeader()
58+
private function getAuthorizationHeader(): string
5959
{
6060
switch ($this->method) {
6161
case Client::AUTH_CLIENT_ID:

0 commit comments

Comments
 (0)