1
0
Fork 0
mirror of synced 2024-07-03 05:31:38 +12:00

Fixed psr standard

This commit is contained in:
Eldad Fux 2020-01-18 23:08:28 +02:00
parent 42346fb196
commit efccfda6b7

View file

@ -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;
} }