Merge pull request #484 from thephpleague/analysis-qvQODv

Applied fixes from StyleCI
This commit is contained in:
Alex Bilbie 2016-03-23 13:12:24 +00:00
commit 07b2758cba
2 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@
*/ */
namespace League\OAuth2\Server\Grant; namespace League\OAuth2\Server\Grant;
use League\Event\Event;
use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface; use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface;
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface; use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
use League\OAuth2\Server\Entities\Interfaces\UserEntityInterface; use League\OAuth2\Server\Entities\Interfaces\UserEntityInterface;

View File

@ -18,7 +18,7 @@ class RequestEvent extends Event
* @param string $name * @param string $name
* @param \Psr\Http\Message\ServerRequestInterface $request * @param \Psr\Http\Message\ServerRequestInterface $request
*/ */
public function __construct($name, ServerRequestInterface $request) public function __construct($name, ServerRequestInterface $request)
{ {
parent::__construct($name); parent::__construct($name);
$this->request = $request; $this->request = $request;
@ -31,4 +31,4 @@ class RequestEvent extends Event
{ {
return $this->request; return $this->request;
} }
} }