Format code using php-cs-fixer

This commit is contained in:
jo 2021-10-11 16:10:47 +02:00
parent 43d7dc92cd
commit d52c6184b9
352 changed files with 17473 additions and 17041 deletions

View file

@ -1,31 +1,30 @@
<?php
interface OAuth2 {
interface OAuth2
{
/**
* Check whether an OAuth access token exists
* Check whether an OAuth access token exists.
*
* @return bool true if an access token exists, otherwise false
*/
public function hasAccessToken();
/**
* Get the OAuth authorization URL
* Get the OAuth authorization URL.
*
* @return string the authorization URL
*/
public function getAuthorizeUrl();
/**
* Request a new OAuth access token and store it in CcPref
* Request a new OAuth access token and store it in CcPref.
*
* @param $code string exchange authorization code for access token
*/
public function requestNewAccessToken($code);
/**
* Regenerate the OAuth access token
* Regenerate the OAuth access token.
*/
public function accessTokenRefresh();
}
}