Passed
Push — develop ( 054886...bd89ad )
by nguereza
01:41
created
src/Response/RedirectResponse.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,14 +38,12 @@
 block discarded – undo
38 38
  * @class RedirectResponse
39 39
  * @package Platine\OAuth2\Response
40 40
  */
41
-class RedirectResponse extends Response
42
-{
41
+class RedirectResponse extends Response {
43 42
     /**
44 43
      * Create new instance
45 44
      * @param string $uri
46 45
      */
47
-    public function __construct(string $uri = '/')
48
-    {
46
+    public function __construct(string $uri = '/') {
49 47
         parent::__construct(302);
50 48
         $this->headers['location'] = [$uri];
51 49
     }
Please login to merge, or discard this patch.
src/Grant/RefreshTokenGrant.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
45 45
  * @class RefreshTokenGrant
46 46
  * @package Platine\OAuth2\Grant
47 47
  */
48
-class RefreshTokenGrant extends BaseGrant
49
-{
48
+class RefreshTokenGrant extends BaseGrant {
50 49
     public const GRANT_TYPE = 'refresh_token';
51 50
     public const GRANT_RESPONSE_TYPE = '';
52 51
 
Please login to merge, or discard this patch.
src/AuthorizationServerInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@
 block discarded – undo
36 36
  * @class AuthorizationServerInterface
37 37
  * @package Platine\OAuth2
38 38
  */
39
-interface AuthorizationServerInterface
40
-{
39
+interface AuthorizationServerInterface {
41 40
     /**
42 41
      * Whether the authorization server the given grant
43 42
      * @param string $grant
Please login to merge, or discard this patch.