Completed
Pull Request — master (#1028)
by
unknown
32:41 queued 15s
created
src/Event/RequestEvent.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
     /**
35 35
      * RequestEvent constructor.
36 36
      *
37
-     * @param string                 $name
38 37
      * @param ServerRequestInterface $request
39 38
      */
40 39
     public function __construct(ServerRequestInterface $request)
Please login to merge, or discard this patch.
src/Grant/AuthCodeGrant.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 use Exception;
15 15
 use League\OAuth2\Server\Entities\ClientEntityInterface;
16 16
 use League\OAuth2\Server\Entities\UserEntityInterface;
17
+use League\OAuth2\Server\Event\RequestEvent;
17 18
 use League\OAuth2\Server\Exception\OAuthServerException;
18 19
 use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface;
19 20
 use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface;
20
-use League\OAuth2\Server\Event\RequestEvent;
21 21
 use League\OAuth2\Server\RequestTypes\AuthorizationRequest;
22 22
 use League\OAuth2\Server\ResponseTypes\RedirectResponse;
23 23
 use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface;
Please login to merge, or discard this patch.
src/Grant/PasswordGrant.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 use DateInterval;
15 15
 use League\OAuth2\Server\Entities\ClientEntityInterface;
16 16
 use League\OAuth2\Server\Entities\UserEntityInterface;
17
+use League\OAuth2\Server\Event\RequestEvent;
17 18
 use League\OAuth2\Server\Exception\OAuthServerException;
18 19
 use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface;
19 20
 use League\OAuth2\Server\Repositories\UserRepositoryInterface;
20
-use League\OAuth2\Server\Event\RequestEvent;
21 21
 use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface;
22 22
 use Psr\Http\Message\ServerRequestInterface;
23 23
 
Please login to merge, or discard this patch.
src/Event/EventDispatcherAwareTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * Get the Emitter.
32 32
      *
33
-     * @return EmitterInterface
33
+     * @return null|EventDispatcherInterface
34 34
      */
35 35
     public function getEventDispatcher()
36 36
     {
Please login to merge, or discard this patch.