1
0
Fork 0
mirror of synced 2024-06-29 03:30:34 +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
*/
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
if (!in_array($scope, $this->scopes)){
$this->scopes[] = $scope;
@ -103,7 +104,8 @@ abstract class OAuth
/**
* @return array
*/
protected function getScopes():array{
protected function getScopes():array
{
return $this->scopes;
}