mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-12-01 11:43:26 +05:30
CS fixer changes
This commit is contained in:
1 parent
193018aecf
commit
97e7a00bca
12 files changed
+96
-87
No files matched your search
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace League\OAuth2\Server\Entity;
|
||||
|
||||
use League\OAuth2\Server\Exception\ServerException;
|
||||
use League\OAuth2\Server\AbstractServer;
|
||||
|
||||
/**
|
||||
@@ -39,23 +38,25 @@ class ScopeEntity
|
||||
|
||||
/**
|
||||
* __construct
|
||||
* @param \League\OAuth2\Server\AbstractServer $server
|
||||
* @param \League\OAuth2\Server\AbstractServer $server
|
||||
* @return self
|
||||
*/
|
||||
public function __construct(AbstractServer $server)
|
||||
{
|
||||
$this->server = $server;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the scope identifer
|
||||
* @param string $id The scope identifier
|
||||
* @param string $id The scope identifier
|
||||
* @return self
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -70,12 +71,13 @@ class ScopeEntity
|
||||
|
||||
/**
|
||||
* Set the scope's descripton
|
||||
* @param string $description
|
||||
* @param string $description
|
||||
* @return self
|
||||
*/
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -87,4 +89,4 @@ class ScopeEntity
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user