@@ -4,8 +4,7 @@ |
||
| 4 | 4 | use Platine\Database\Schema\CreateTable; |
| 5 | 5 | use Platine\Framework\Migration\AbstractMigration; |
| 6 | 6 | |
| 7 | -class AddPermissionsTable20210717094547 extends AbstractMigration |
|
| 8 | -{ |
|
| 7 | +class AddPermissionsTable20210717094547 extends AbstractMigration { |
|
| 9 | 8 | |
| 10 | 9 | public function up(): void |
| 11 | 10 | { |
@@ -4,8 +4,7 @@ |
||
| 4 | 4 | use Platine\Database\Schema\CreateTable; |
| 5 | 5 | use Platine\Framework\Migration\AbstractMigration; |
| 6 | 6 | |
| 7 | -class AddUsersTable20210705065248 extends AbstractMigration |
|
| 8 | -{ |
|
| 7 | +class AddUsersTable20210705065248 extends AbstractMigration { |
|
| 9 | 8 | |
| 10 | 9 | public function up(): void |
| 11 | 10 | { |
@@ -4,8 +4,7 @@ |
||
| 4 | 4 | use Platine\Database\Schema\CreateTable; |
| 5 | 5 | use Platine\Framework\Migration\AbstractMigration; |
| 6 | 6 | |
| 7 | -class AddPermissionRolesTable20210717094822 extends AbstractMigration |
|
| 8 | -{ |
|
| 7 | +class AddPermissionRolesTable20210717094822 extends AbstractMigration { |
|
| 9 | 8 | |
| 10 | 9 | public function up(): void |
| 11 | 10 | { |
@@ -4,8 +4,7 @@ |
||
| 4 | 4 | use Platine\Database\Schema\CreateTable; |
| 5 | 5 | use Platine\Framework\Migration\AbstractMigration; |
| 6 | 6 | |
| 7 | -class AddRoleUsersTable20210717100434 extends AbstractMigration |
|
| 8 | -{ |
|
| 7 | +class AddRoleUsersTable20210717100434 extends AbstractMigration { |
|
| 9 | 8 | |
| 10 | 9 | public function up(): void |
| 11 | 10 | { |
@@ -62,8 +62,7 @@ |
||
| 62 | 62 | * @package Platine\Framework\Auth\Middleware |
| 63 | 63 | * @template T |
| 64 | 64 | */ |
| 65 | -class AuthorizationMiddleware implements MiddlewareInterface |
|
| 66 | -{ |
|
| 65 | +class AuthorizationMiddleware implements MiddlewareInterface { |
|
| 67 | 66 | |
| 68 | 67 | /** |
| 69 | 68 | * The Authorization instance |
@@ -62,8 +62,7 @@ |
||
| 62 | 62 | * @package Platine\Framework\Auth\Middleware |
| 63 | 63 | * @template T |
| 64 | 64 | */ |
| 65 | -class AuthenticationMiddleware implements MiddlewareInterface |
|
| 66 | -{ |
|
| 65 | +class AuthenticationMiddleware implements MiddlewareInterface { |
|
| 67 | 66 | |
| 68 | 67 | /** |
| 69 | 68 | * The Authentication instance |
@@ -56,8 +56,7 @@ |
||
| 56 | 56 | * class AuthenticationInterface |
| 57 | 57 | * @package Platine\Framework\Auth |
| 58 | 58 | */ |
| 59 | -interface AuthenticationInterface |
|
| 60 | -{ |
|
| 59 | +interface AuthenticationInterface { |
|
| 61 | 60 | |
| 62 | 61 | /** |
| 63 | 62 | * Authenticate the user |
@@ -37,6 +37,5 @@ |
||
| 37 | 37 | * @class InvalidCredentialsException |
| 38 | 38 | * @package Platine\Framework\Auth\Exception |
| 39 | 39 | */ |
| 40 | -class InvalidCredentialsException extends AuthenticationException |
|
| 41 | -{ |
|
| 40 | +class InvalidCredentialsException extends AuthenticationException { |
|
| 42 | 41 | } |
@@ -37,6 +37,5 @@ |
||
| 37 | 37 | * @class AccountNotFoundException |
| 38 | 38 | * @package Platine\Framework\Auth\Exception |
| 39 | 39 | */ |
| 40 | -class AccountNotFoundException extends AuthenticationException |
|
| 41 | -{ |
|
| 40 | +class AccountNotFoundException extends AuthenticationException { |
|
| 42 | 41 | } |