@@ -53,8 +53,7 @@ discard block |
||
53 | 53 | * @class SessionUser |
54 | 54 | * @package Platine\Framework\Audit |
55 | 55 | */ |
56 | -class SessionUser implements AuditUserInterface |
|
57 | -{ |
|
56 | +class SessionUser implements AuditUserInterface { |
|
58 | 57 | /** |
59 | 58 | * The Authentication instance |
60 | 59 | * @var AuthenticationInterface |
@@ -66,8 +65,7 @@ discard block |
||
66 | 65 | * Create new instance |
67 | 66 | * @param AuthenticationInterface $authentication |
68 | 67 | */ |
69 | - public function __construct(AuthenticationInterface $authentication) |
|
70 | - { |
|
68 | + public function __construct(AuthenticationInterface $authentication) { |
|
71 | 69 | $this->authentication = $authentication; |
72 | 70 | } |
73 | 71 |
@@ -51,8 +51,7 @@ |
||
51 | 51 | * @class AuditUserInterface |
52 | 52 | * @package Platine\Framework\Audit |
53 | 53 | */ |
54 | -interface AuditUserInterface |
|
55 | -{ |
|
54 | +interface AuditUserInterface { |
|
56 | 55 | /** |
57 | 56 | * Return the user id |
58 | 57 | * @return int |
@@ -53,8 +53,7 @@ discard block |
||
53 | 53 | * @class ApiUser |
54 | 54 | * @package Platine\Framework\Audit |
55 | 55 | */ |
56 | -class ApiUser implements AuditUserInterface |
|
57 | -{ |
|
56 | +class ApiUser implements AuditUserInterface { |
|
58 | 57 | /** |
59 | 58 | * The API Authentication instance |
60 | 59 | * @var ApiAuthenticationInterface |
@@ -66,8 +65,7 @@ discard block |
||
66 | 65 | * Create new instance |
67 | 66 | * @param ApiAuthenticationInterface $authentication |
68 | 67 | */ |
69 | - public function __construct(ApiAuthenticationInterface $authentication) |
|
70 | - { |
|
68 | + public function __construct(ApiAuthenticationInterface $authentication) { |
|
71 | 69 | $this->authentication = $authentication; |
72 | 70 | } |
73 | 71 |