diff --git a/src/Appwrite/Auth/OAuth2/Line.php b/src/Appwrite/Auth/OAuth2/Line.php index d70da59360..fd2821c353 100644 --- a/src/Appwrite/Auth/OAuth2/Line.php +++ b/src/Appwrite/Auth/OAuth2/Line.php @@ -173,13 +173,13 @@ class Line extends OAuth2 'id_token' => $this->tokens['id_token'], 'client_id' => $this->appID, 'client_secret' => $this->appSecret, - + ]) ), true); - - if(isset($emailInfo['email'])) - $this->user['email'] = $emailInfo['email']; - + + if (isset($emailInfo['email'])) { + $this->user['email'] = $emailInfo['email']; + } } return $this->user;