@@ -20,11 +20,11 @@ |
||
| 20 | 20 | public function hasPermission(PermissionInterface $permission) : bool; |
| 21 | 21 | |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Retrieve the permissions associated with the user's roles. |
|
| 25 | - * |
|
| 26 | - * @return array An array of permissions associated with the user's roles. |
|
| 27 | - */ |
|
| 23 | + /** |
|
| 24 | + * Retrieve the permissions associated with the user's roles. |
|
| 25 | + * |
|
| 26 | + * @return array An array of permissions associated with the user's roles. |
|
| 27 | + */ |
|
| 28 | 28 | public function getPermissions() : array; |
| 29 | 29 | |
| 30 | 30 | |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Lepton\Http\Response; |
| 4 | 4 | |
| 5 | - class JSONResponse extends SuccessResponse |
|
| 5 | + class JSONResponse extends SuccessResponse |
|
| 6 | 6 | { |
| 7 | 7 | |
| 8 | 8 | public function __construct( |