1
0
Fork 0
mirror of synced 2024-09-28 07:21:35 +12:00

Update src/Appwrite/Auth/OAuth2/Etsy.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Wess Cope 2022-08-09 08:15:46 -04:00 committed by GitHub
parent 97117f2fde
commit fe2fe1e08a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ class Etsy extends OAuth2
*/
private string $pkce = '';
private function getPKCE()
private function getPKCE(): string
{
if (empty($this->pkce)) {
$this->pkce = \bin2hex(\random_bytes(rand(43, 128)));