Skip to content

Commit 2cce766

Browse files
authored
Merge pull request #72 from simondotws/simondotws-patch-1
Fix for deprecated function in http_build_query
2 parents 5c8d02f + 8fef88c commit 2cce766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OAuth2/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public function getAuthenticationUrl($auth_endpoint, $redirect_uri, array $extra
196196
'client_id' => $this->client_id,
197197
'redirect_uri' => $redirect_uri
198198
), $extra_parameters);
199-
return $auth_endpoint . '?' . http_build_query($parameters, null, '&');
199+
return $auth_endpoint . '?' . http_build_query($parameters, '', '&');
200200
}
201201

202202
/**

0 commit comments

Comments
 (0)