Passed
Push — develop ( 483548...fe7945 )
by nguereza
02:27
created
src/Configuration.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * @class Configuration
53 53
  * @package Platine\OAuth2
54 54
  */
55
-class Configuration extends AbstractConfiguration
56
-{
55
+class Configuration extends AbstractConfiguration {
57 56
     /**
58 57
      * Return the access token request attribute value
59 58
      * @return string
Please login to merge, or discard this patch.
src/Grant/GrantInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
47 47
  * @package Platine\OAuth2\Grant
48 48
  * @link http://tools.ietf.org/html/rfc6749#section-1.3
49 49
  */
50
-interface GrantInterface
51
-{
50
+interface GrantInterface {
52 51
     /**
53 52
      * Need to be overwrite by each grant
54 53
      */
Please login to merge, or discard this patch.
src/Grant/BaseGrant.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
  * @class BaseGrant
42 42
  * @package Platine\OAuth2\Grant
43 43
  */
44
-abstract class BaseGrant implements GrantInterface
45
-{
44
+abstract class BaseGrant implements GrantInterface {
46 45
     /**
47 46
      * {@inheritdoc}
48 47
      */
Please login to merge, or discard this patch.
src/Response/JsonResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
  * @class JsonResponse
40 40
  * @package Platine\OAuth2\Response
41 41
  */
42
-class JsonResponse extends Response
43
-{
42
+class JsonResponse extends Response {
44 43
     /**
45 44
      * Create new instance
46 45
      * @param mixed $data
Please login to merge, or discard this patch.
src/Exception/InvalidAccessTokenException.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,15 +38,13 @@
 block discarded – undo
38 38
  * @class InvalidAccessTokenException
39 39
  * @package Platine\OAuth2\Exception
40 40
  */
41
-class InvalidAccessTokenException extends InvalidArgumentException
42
-{
41
+class InvalidAccessTokenException extends InvalidArgumentException {
43 42
     /**
44 43
      * Create new instance
45 44
      * @param string $message
46 45
      * @param string $code
47 46
      */
48
-    public function __construct(string $message, string $code)
49
-    {
47
+    public function __construct(string $message, string $code) {
50 48
         parent::__construct($message);
51 49
         $this->code = $code;
52 50
     }
Please login to merge, or discard this patch.
src/Exception/OAuth2Exception.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,15 +38,13 @@
 block discarded – undo
38 38
  * @class OAuth2Exception
39 39
  * @package Platine\OAuth2\Exception
40 40
  */
41
-class OAuth2Exception extends Exception
42
-{
41
+class OAuth2Exception extends Exception {
43 42
     /**
44 43
      * Create new instance
45 44
      * @param string $message
46 45
      * @param string $code
47 46
      */
48
-    public function __construct(string $message, string $code)
49
-    {
47
+    public function __construct(string $message, string $code) {
50 48
         parent::__construct($message);
51 49
         $this->code = $code;
52 50
     }
Please login to merge, or discard this patch.
src/Entity/TokenOwnerInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
  * @class TokenOwnerInterface
40 40
  * @package Platine\OAuth2\Entity
41 41
  */
42
-interface TokenOwnerInterface
43
-{
42
+interface TokenOwnerInterface {
44 43
     /**
45 44
      * Return the token owner id
46 45
      * @return mixed
Please login to merge, or discard this patch.
src/Entity/AccessToken.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 AccessToken
37 37
  * @package Platine\OAuth2\Entity
38 38
  */
39
-class AccessToken extends BaseToken
40
-{
39
+class AccessToken extends BaseToken {
41 40
     /**
42 41
      * Create new access token
43 42
      * @param int $ttl
Please login to merge, or discard this patch.
src/Entity/RefreshToken.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 RefreshToken
37 37
  * @package Platine\OAuth2\Entity
38 38
  */
39
-class RefreshToken extends BaseToken
40
-{
39
+class RefreshToken extends BaseToken {
41 40
     /**
42 41
      * Create new refresh token
43 42
      * @param int $ttl
Please login to merge, or discard this patch.