@@ -53,8 +53,7 @@ discard block |
||
| 53 | 53 | * @class TokenOwner |
| 54 | 54 | * @package Platine\Framework\OAuth2\User |
| 55 | 55 | */ |
| 56 | -class TokenOwner implements TokenOwnerInterface |
|
| 57 | -{ |
|
| 56 | +class TokenOwner implements TokenOwnerInterface { |
|
| 58 | 57 | /** |
| 59 | 58 | * The owner id |
| 60 | 59 | * @var mixed |
@@ -65,16 +64,14 @@ discard block |
||
| 65 | 64 | * Create new instance |
| 66 | 65 | * @param mixed|null $id |
| 67 | 66 | */ |
| 68 | - public function __construct($id = null) |
|
| 69 | - { |
|
| 67 | + public function __construct($id = null) { |
|
| 70 | 68 | $this->id = $id; |
| 71 | 69 | } |
| 72 | 70 | |
| 73 | 71 | /** |
| 74 | 72 | * {@inheritdoc} |
| 75 | 73 | */ |
| 76 | - public function getOwnerId() |
|
| 77 | - { |
|
| 74 | + public function getOwnerId() { |
|
| 78 | 75 | return $this->id; |
| 79 | 76 | } |
| 80 | 77 | } |
@@ -56,8 +56,7 @@ discard block |
||
| 56 | 56 | * @class UserAuthentication |
| 57 | 57 | * @package Platine\Framework\OAuth2\User |
| 58 | 58 | */ |
| 59 | -class UserAuthentication implements UserAuthenticationInterface |
|
| 60 | -{ |
|
| 59 | +class UserAuthentication implements UserAuthenticationInterface { |
|
| 61 | 60 | /** |
| 62 | 61 | * The Authentication |
| 63 | 62 | * @var AuthenticationInterface |
@@ -68,8 +67,7 @@ discard block |
||
| 68 | 67 | * Create new instance |
| 69 | 68 | * @param AuthenticationInterface $authentication |
| 70 | 69 | */ |
| 71 | - public function __construct(AuthenticationInterface $authentication) |
|
| 72 | - { |
|
| 70 | + public function __construct(AuthenticationInterface $authentication) { |
|
| 73 | 71 | $this->authentication = $authentication; |
| 74 | 72 | } |
| 75 | 73 | |
@@ -59,8 +59,7 @@ |
||
| 59 | 59 | * @package Platine\Framework\Task\Command |
| 60 | 60 | * @template T |
| 61 | 61 | */ |
| 62 | -abstract class AbstractCommand extends Command |
|
| 63 | -{ |
|
| 62 | +abstract class AbstractCommand extends Command { |
|
| 64 | 63 | /** |
| 65 | 64 | * The scheduler instance |
| 66 | 65 | * @var SchedulerInterface |