Fixed psr standard
This commit is contained in:
parent
42346fb196
commit
efccfda6b7
1 changed files with 4 additions and 2 deletions
|
@ -92,7 +92,8 @@ abstract class OAuth
|
||||||
*
|
*
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function addScope(string $scope):OAuth{
|
protected function addScope(string $scope):OAuth
|
||||||
|
{
|
||||||
// Add a scope to the scopes array if it isn't already present
|
// Add a scope to the scopes array if it isn't already present
|
||||||
if (!in_array($scope, $this->scopes)){
|
if (!in_array($scope, $this->scopes)){
|
||||||
$this->scopes[] = $scope;
|
$this->scopes[] = $scope;
|
||||||
|
@ -103,7 +104,8 @@ abstract class OAuth
|
||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function getScopes():array{
|
protected function getScopes():array
|
||||||
|
{
|
||||||
return $this->scopes;
|
return $this->scopes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue