@@ -62,8 +62,7 @@ |
||
| 62 | 62 | * @package Platine\Framework\Auth\Middleware |
| 63 | 63 | * @template T |
| 64 | 64 | */ |
| 65 | -class ApiAuthorizationMiddleware implements MiddlewareInterface |
|
| 66 | -{ |
|
| 65 | +class ApiAuthorizationMiddleware implements MiddlewareInterface { |
|
| 67 | 66 | /** |
| 68 | 67 | * Create new instance |
| 69 | 68 | * @param AuthorizationInterface $authorization |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | * |
| 105 | 105 | * @throws AccountNotFoundException if can not find the account information |
| 106 | 106 | */ |
| 107 | - public function getId(): int|string; |
|
| 107 | + public function getId(): int | string; |
|
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | 110 | * Return the list of current user permissions |