@@ -56,14 +56,12 @@ |
||
| 56 | 56 | * @package Platine\Framework\Auth\Repository |
| 57 | 57 | * @extends Repository<Role> |
| 58 | 58 | */ |
| 59 | -class RoleRepository extends Repository |
|
| 60 | -{ |
|
| 59 | +class RoleRepository extends Repository { |
|
| 61 | 60 | /** |
| 62 | 61 | * Create new instance |
| 63 | 62 | * @param EntityManager<Role> $manager |
| 64 | 63 | */ |
| 65 | - public function __construct(EntityManager $manager) |
|
| 66 | - { |
|
| 64 | + public function __construct(EntityManager $manager) { |
|
| 67 | 65 | parent::__construct($manager, Role::class); |
| 68 | 66 | } |
| 69 | 67 | } |
@@ -56,14 +56,12 @@ |
||
| 56 | 56 | * @package Platine\Framework\Auth\Repository |
| 57 | 57 | * @extends Repository<User> |
| 58 | 58 | */ |
| 59 | -class UserRepository extends Repository |
|
| 60 | -{ |
|
| 59 | +class UserRepository extends Repository { |
|
| 61 | 60 | /** |
| 62 | 61 | * Create new instance |
| 63 | 62 | * @param EntityManager<User> $manager |
| 64 | 63 | */ |
| 65 | - public function __construct(EntityManager $manager) |
|
| 66 | - { |
|
| 64 | + public function __construct(EntityManager $manager) { |
|
| 67 | 65 | parent::__construct($manager, User::class); |
| 68 | 66 | } |
| 69 | 67 | } |
@@ -56,14 +56,12 @@ |
||
| 56 | 56 | * @package Platine\Framework\Auth\Repository |
| 57 | 57 | * @extends Repository<Permission> |
| 58 | 58 | */ |
| 59 | -class PermissionRepository extends Repository |
|
| 60 | -{ |
|
| 59 | +class PermissionRepository extends Repository { |
|
| 61 | 60 | /** |
| 62 | 61 | * Create new instance |
| 63 | 62 | * @param EntityManager<Permission> $manager |
| 64 | 63 | */ |
| 65 | - public function __construct(EntityManager $manager) |
|
| 66 | - { |
|
| 64 | + public function __construct(EntityManager $manager) { |
|
| 67 | 65 | parent::__construct($manager, Permission::class); |
| 68 | 66 | } |
| 69 | 67 | } |
@@ -55,8 +55,7 @@ |
||
| 55 | 55 | * @package Platine\Framework\Auth\Entity |
| 56 | 56 | * @extends Entity<Role> |
| 57 | 57 | */ |
| 58 | -class Role extends Entity |
|
| 59 | -{ |
|
| 58 | +class Role extends Entity { |
|
| 60 | 59 | /** |
| 61 | 60 | * |
| 62 | 61 | * @param EntityMapperInterface<Role> $mapper |
@@ -55,8 +55,7 @@ |
||
| 55 | 55 | * @package Platine\Framework\Auth\Entity |
| 56 | 56 | * @extends Entity<Permission> |
| 57 | 57 | */ |
| 58 | -class Permission extends Entity |
|
| 59 | -{ |
|
| 58 | +class Permission extends Entity { |
|
| 60 | 59 | /** |
| 61 | 60 | * |
| 62 | 61 | * @param EntityMapperInterface<Permission> $mapper |
@@ -55,14 +55,12 @@ |
||
| 55 | 55 | * @package Platine\Framework\Migration |
| 56 | 56 | * @extends Repository<MigrationEntity> |
| 57 | 57 | */ |
| 58 | -class MigrationRepository extends Repository |
|
| 59 | -{ |
|
| 58 | +class MigrationRepository extends Repository { |
|
| 60 | 59 | /** |
| 61 | 60 | * Create new instance |
| 62 | 61 | * @param EntityManager<MigrationEntity> $manager |
| 63 | 62 | */ |
| 64 | - public function __construct(EntityManager $manager) |
|
| 65 | - { |
|
| 63 | + public function __construct(EntityManager $manager) { |
|
| 66 | 64 | parent::__construct($manager, MigrationEntity::class); |
| 67 | 65 | } |
| 68 | 66 | } |
@@ -56,8 +56,7 @@ |
||
| 56 | 56 | * @package Platine\Framework\Migration |
| 57 | 57 | * @extends Entity<MigrationEntity> |
| 58 | 58 | */ |
| 59 | -class MigrationEntity extends Entity |
|
| 60 | -{ |
|
| 59 | +class MigrationEntity extends Entity { |
|
| 61 | 60 | /** |
| 62 | 61 | * |
| 63 | 62 | * @param EntityMapperInterface<MigrationEntity> $mapper |
@@ -55,14 +55,12 @@ |
||
| 55 | 55 | * @package Platine\Framework\Audit\Model |
| 56 | 56 | * @extends Repository<Audit> |
| 57 | 57 | */ |
| 58 | -class AuditRepository extends Repository |
|
| 59 | -{ |
|
| 58 | +class AuditRepository extends Repository { |
|
| 60 | 59 | /** |
| 61 | 60 | * Create new instance |
| 62 | 61 | * @param EntityManager<Audit> $manager |
| 63 | 62 | */ |
| 64 | - public function __construct(EntityManager $manager) |
|
| 65 | - { |
|
| 63 | + public function __construct(EntityManager $manager) { |
|
| 66 | 64 | parent::__construct($manager, Audit::class); |
| 67 | 65 | } |
| 68 | 66 | } |
@@ -58,14 +58,12 @@ |
||
| 58 | 58 | * @package Platine\Framework\OAuth2\Repository |
| 59 | 59 | * @extends Repository<OauthClient> |
| 60 | 60 | */ |
| 61 | -class ClientRepository extends Repository implements ClientRepositoryInterface |
|
| 62 | -{ |
|
| 61 | +class ClientRepository extends Repository implements ClientRepositoryInterface { |
|
| 63 | 62 | /** |
| 64 | 63 | * Create new instance |
| 65 | 64 | * @param EntityManager<OauthClient> $manager |
| 66 | 65 | */ |
| 67 | - public function __construct(EntityManager $manager) |
|
| 68 | - { |
|
| 66 | + public function __construct(EntityManager $manager) { |
|
| 69 | 67 | parent::__construct($manager, OauthClient::class); |
| 70 | 68 | } |
| 71 | 69 | |