1
0
Fork 0
mirror of synced 2024-06-28 19:20:25 +12:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Christy Jacob 2020-01-19 16:00:37 +05:30
commit 45c9b28254

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