Update src/Appwrite/Auth/OAuth2/Etsy.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
97117f2fde
commit
fe2fe1e08a
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
|
|
Loading…
Reference in a new issue