From 01c2e08d26ceac80dc4906bbe13334be680b5c7f Mon Sep 17 00:00:00 2001 From: Jan Oppolzer Date: Fri, 22 Nov 2024 10:24:31 +0100 Subject: [PATCH] Syntax cleaning with Pint --- app/Http/Controllers/CategoryManagementController.php | 4 +++- app/Http/Controllers/EntityFederationController.php | 4 +++- app/Http/Controllers/EntityManagementController.php | 4 +++- app/Http/Controllers/EntityOrganizationController.php | 4 +++- app/Http/Controllers/EntityPreviewMetadataController.php | 4 +++- app/Http/Controllers/FederationJoinController.php | 4 +++- app/Http/Controllers/GroupManagementController.php | 4 +++- app/Jobs/Old_Jobs/Old_GitAddCategory.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddEntity.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddFederation.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddGroup.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddMember.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddMembers.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddMembership.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddToCategory.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddToEdugain.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddToHfd.php | 3 ++- app/Jobs/Old_Jobs/Old_GitAddToRs.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteCategory.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteEntity.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteFederation.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteFromCategory.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteFromEdugain.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteFromFederation.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteFromHfd.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteFromRs.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteGroup.php | 3 ++- app/Jobs/Old_Jobs/Old_GitDeleteMembers.php | 3 ++- app/Jobs/Old_Jobs/Old_GitRestoreToCategory.php | 3 ++- app/Jobs/Old_Jobs/Old_GitRestoreToEdugain.php | 3 ++- app/Jobs/Old_Jobs/Old_GitUpdateCategory.php | 3 ++- app/Jobs/Old_Jobs/Old_GitUpdateEntity.php | 3 ++- app/Jobs/Old_Jobs/Old_GitUpdateFederation.php | 3 ++- app/Jobs/Old_Jobs/Old_GitUpdateGroup.php | 3 ++- app/Mail/AskRs.php | 3 ++- app/Mail/ExceptionOccured.php | 3 ++- app/Mail/NewIdentityProvider.php | 4 +++- app/Notifications/CategoryCreated.php | 3 ++- app/Notifications/CategoryDeleted.php | 3 ++- app/Notifications/CategoryUpdated.php | 3 ++- app/Notifications/EntityAddedToHfd.php | 3 ++- app/Notifications/EntityAddedToRs.php | 3 ++- app/Notifications/EntityDeletedFromFederation.php | 3 ++- app/Notifications/EntityDeletedFromHfd.php | 3 ++- app/Notifications/EntityDeletedFromRs.php | 3 ++- app/Notifications/EntityDestroyed.php | 3 ++- app/Notifications/EntityEdugainStatusChanged.php | 3 ++- app/Notifications/EntityOperatorsChanged.php | 3 ++- app/Notifications/EntityRequested.php | 3 ++- app/Notifications/EntityStateChanged.php | 3 ++- app/Notifications/EntityUpdated.php | 3 ++- app/Notifications/FederationApproved.php | 3 ++- app/Notifications/FederationDestroyed.php | 3 ++- app/Notifications/FederationMemberChanged.php | 3 ++- app/Notifications/FederationMembersChanged.php | 3 ++- app/Notifications/FederationOperatorsChanged.php | 3 ++- app/Notifications/FederationRejected.php | 3 ++- app/Notifications/FederationRequested.php | 3 ++- app/Notifications/FederationStateChanged.php | 3 ++- app/Notifications/FederationUpdated.php | 3 ++- app/Notifications/GroupCreated.php | 3 ++- app/Notifications/GroupDeleted.php | 3 ++- app/Notifications/GroupUpdated.php | 3 ++- app/Notifications/IdpCategoryChanged.php | 3 ++- app/Notifications/MembershipAccepted.php | 3 ++- app/Notifications/MembershipRejected.php | 3 ++- app/Notifications/TooManyRequests.php | 4 +++- app/Notifications/UserCreated.php | 3 ++- app/Notifications/UserRoleChanged.php | 3 ++- app/Notifications/UserStatusChanged.php | 3 ++- app/Notifications/YourEntityRightsChanged.php | 3 ++- app/Notifications/YourFederationRightsChanged.php | 3 ++- app/View/Components/Buttons/Back.php | 4 +++- app/View/Components/Element/BodySection.php | 4 +++- app/View/Components/FormTable/HeadCell.php | 4 +++- app/View/Components/Forms/MembershipAccept.php | 4 +++- app/View/Components/Forms/MembershipReject.php | 4 +++- 77 files changed, 168 insertions(+), 77 deletions(-) diff --git a/app/Http/Controllers/CategoryManagementController.php b/app/Http/Controllers/CategoryManagementController.php index 6f0a862..22138f7 100644 --- a/app/Http/Controllers/CategoryManagementController.php +++ b/app/Http/Controllers/CategoryManagementController.php @@ -14,7 +14,9 @@ class CategoryManagementController extends Controller { use GitTrait; - public function __construct() {} + public function __construct() + { + } public function index() { diff --git a/app/Http/Controllers/EntityFederationController.php b/app/Http/Controllers/EntityFederationController.php index eceb397..a3639b1 100644 --- a/app/Http/Controllers/EntityFederationController.php +++ b/app/Http/Controllers/EntityFederationController.php @@ -17,7 +17,9 @@ class EntityFederationController extends Controller { use GitTrait; - public function __construct() {} + public function __construct() + { + } public function index(Entity $entity) { diff --git a/app/Http/Controllers/EntityManagementController.php b/app/Http/Controllers/EntityManagementController.php index d7a57e1..74fa66f 100644 --- a/app/Http/Controllers/EntityManagementController.php +++ b/app/Http/Controllers/EntityManagementController.php @@ -15,7 +15,9 @@ class EntityManagementController extends Controller { use GitTrait, ValidatorTrait; - public function __construct() {} + public function __construct() + { + } public function index() { diff --git a/app/Http/Controllers/EntityOrganizationController.php b/app/Http/Controllers/EntityOrganizationController.php index cc6d709..2458e26 100644 --- a/app/Http/Controllers/EntityOrganizationController.php +++ b/app/Http/Controllers/EntityOrganizationController.php @@ -12,7 +12,9 @@ class EntityOrganizationController extends Controller { use ValidatorTrait; - public function __construct() {} + public function __construct() + { + } public function update(Entity $entity, AssignOrganization $request) { diff --git a/app/Http/Controllers/EntityPreviewMetadataController.php b/app/Http/Controllers/EntityPreviewMetadataController.php index 8ef91a8..515030e 100644 --- a/app/Http/Controllers/EntityPreviewMetadataController.php +++ b/app/Http/Controllers/EntityPreviewMetadataController.php @@ -6,7 +6,9 @@ class EntityPreviewMetadataController extends Controller { - public function __construct() {} + public function __construct() + { + } public function show(Entity $entity) { diff --git a/app/Http/Controllers/FederationJoinController.php b/app/Http/Controllers/FederationJoinController.php index 6dd01f5..a52f929 100644 --- a/app/Http/Controllers/FederationJoinController.php +++ b/app/Http/Controllers/FederationJoinController.php @@ -7,7 +7,9 @@ class FederationJoinController extends Controller { - public function __construct() {} + public function __construct() + { + } public function index(Federation $federation) { diff --git a/app/Http/Controllers/GroupManagementController.php b/app/Http/Controllers/GroupManagementController.php index 19042f7..03b8250 100644 --- a/app/Http/Controllers/GroupManagementController.php +++ b/app/Http/Controllers/GroupManagementController.php @@ -14,7 +14,9 @@ class GroupManagementController extends Controller { use GitTrait; - public function __construct() {} + public function __construct() + { + } public function index() { diff --git a/app/Jobs/Old_Jobs/Old_GitAddCategory.php b/app/Jobs/Old_Jobs/Old_GitAddCategory.php index 1c01e31..5a1aa95 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddCategory.php +++ b/app/Jobs/Old_Jobs/Old_GitAddCategory.php @@ -28,7 +28,8 @@ class Old_GitAddCategory implements ShouldQueue public function __construct( public Category $category, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddEntity.php b/app/Jobs/Old_Jobs/Old_GitAddEntity.php index 1f6099e..df7d42f 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddEntity.php +++ b/app/Jobs/Old_Jobs/Old_GitAddEntity.php @@ -28,7 +28,8 @@ class Old_GitAddEntity implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddFederation.php b/app/Jobs/Old_Jobs/Old_GitAddFederation.php index 0ef7f2e..082a367 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddFederation.php +++ b/app/Jobs/Old_Jobs/Old_GitAddFederation.php @@ -29,7 +29,8 @@ public function __construct( public Federation $federation, public string $action, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddGroup.php b/app/Jobs/Old_Jobs/Old_GitAddGroup.php index 93e1bd2..7526391 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddGroup.php +++ b/app/Jobs/Old_Jobs/Old_GitAddGroup.php @@ -28,7 +28,8 @@ class Old_GitAddGroup implements ShouldQueue public function __construct( public Group $group, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddMember.php b/app/Jobs/Old_Jobs/Old_GitAddMember.php index bf20080..4e54f74 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddMember.php +++ b/app/Jobs/Old_Jobs/Old_GitAddMember.php @@ -30,7 +30,8 @@ public function __construct( public Federation $federation, public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddMembers.php b/app/Jobs/Old_Jobs/Old_GitAddMembers.php index 42ee0e0..6eb5e71 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddMembers.php +++ b/app/Jobs/Old_Jobs/Old_GitAddMembers.php @@ -30,7 +30,8 @@ public function __construct( public Federation $federation, public Collection $entities, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddMembership.php b/app/Jobs/Old_Jobs/Old_GitAddMembership.php index 104e0e0..5333cbb 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddMembership.php +++ b/app/Jobs/Old_Jobs/Old_GitAddMembership.php @@ -28,7 +28,8 @@ class Old_GitAddMembership implements ShouldQueue public function __construct( public Membership $membership, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddToCategory.php b/app/Jobs/Old_Jobs/Old_GitAddToCategory.php index dee9d24..69ff31e 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddToCategory.php +++ b/app/Jobs/Old_Jobs/Old_GitAddToCategory.php @@ -30,7 +30,8 @@ public function __construct( public Category $category, public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddToEdugain.php b/app/Jobs/Old_Jobs/Old_GitAddToEdugain.php index b26299d..cada68d 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddToEdugain.php +++ b/app/Jobs/Old_Jobs/Old_GitAddToEdugain.php @@ -28,7 +28,8 @@ class Old_GitAddToEdugain implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddToHfd.php b/app/Jobs/Old_Jobs/Old_GitAddToHfd.php index 84d140f..f148659 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddToHfd.php +++ b/app/Jobs/Old_Jobs/Old_GitAddToHfd.php @@ -28,7 +28,8 @@ class Old_GitAddToHfd implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitAddToRs.php b/app/Jobs/Old_Jobs/Old_GitAddToRs.php index 947894a..b21e7b6 100644 --- a/app/Jobs/Old_Jobs/Old_GitAddToRs.php +++ b/app/Jobs/Old_Jobs/Old_GitAddToRs.php @@ -28,7 +28,8 @@ class Old_GitAddToRs implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteCategory.php b/app/Jobs/Old_Jobs/Old_GitDeleteCategory.php index dc6481d..caf416b 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteCategory.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteCategory.php @@ -26,7 +26,8 @@ class Old_GitDeleteCategory implements ShouldQueue public function __construct( public string $category, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteEntity.php b/app/Jobs/Old_Jobs/Old_GitDeleteEntity.php index 179a63c..da62219 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteEntity.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteEntity.php @@ -28,7 +28,8 @@ class Old_GitDeleteEntity implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteFederation.php b/app/Jobs/Old_Jobs/Old_GitDeleteFederation.php index 87b5810..63dba86 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteFederation.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteFederation.php @@ -27,7 +27,8 @@ class Old_GitDeleteFederation implements ShouldQueue public function __construct( public Federation $federation, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteFromCategory.php b/app/Jobs/Old_Jobs/Old_GitDeleteFromCategory.php index dda2358..fccf965 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteFromCategory.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteFromCategory.php @@ -30,7 +30,8 @@ public function __construct( public ?Category $category, public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteFromEdugain.php b/app/Jobs/Old_Jobs/Old_GitDeleteFromEdugain.php index efe56a0..73c8e60 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteFromEdugain.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteFromEdugain.php @@ -28,7 +28,8 @@ class Old_GitDeleteFromEdugain implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteFromFederation.php b/app/Jobs/Old_Jobs/Old_GitDeleteFromFederation.php index 35ff666..1dbe2d7 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteFromFederation.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteFromFederation.php @@ -30,7 +30,8 @@ public function __construct( public Entity $entity, public Federation $federation, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteFromHfd.php b/app/Jobs/Old_Jobs/Old_GitDeleteFromHfd.php index cc37d77..a94aefe 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteFromHfd.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteFromHfd.php @@ -28,7 +28,8 @@ class Old_GitDeleteFromHfd implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteFromRs.php b/app/Jobs/Old_Jobs/Old_GitDeleteFromRs.php index 97e70f7..e3f46c3 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteFromRs.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteFromRs.php @@ -28,7 +28,8 @@ class Old_GitDeleteFromRs implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteGroup.php b/app/Jobs/Old_Jobs/Old_GitDeleteGroup.php index c1c116a..9e16dec 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteGroup.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteGroup.php @@ -26,7 +26,8 @@ class Old_GitDeleteGroup implements ShouldQueue public function __construct( public string $group, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitDeleteMembers.php b/app/Jobs/Old_Jobs/Old_GitDeleteMembers.php index faa851b..bf48941 100644 --- a/app/Jobs/Old_Jobs/Old_GitDeleteMembers.php +++ b/app/Jobs/Old_Jobs/Old_GitDeleteMembers.php @@ -30,7 +30,8 @@ public function __construct( public Federation $federation, public Collection $entities, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitRestoreToCategory.php b/app/Jobs/Old_Jobs/Old_GitRestoreToCategory.php index 37137b1..bbbeca2 100644 --- a/app/Jobs/Old_Jobs/Old_GitRestoreToCategory.php +++ b/app/Jobs/Old_Jobs/Old_GitRestoreToCategory.php @@ -28,7 +28,8 @@ class Old_GitRestoreToCategory implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitRestoreToEdugain.php b/app/Jobs/Old_Jobs/Old_GitRestoreToEdugain.php index 2088225..e720a5f 100644 --- a/app/Jobs/Old_Jobs/Old_GitRestoreToEdugain.php +++ b/app/Jobs/Old_Jobs/Old_GitRestoreToEdugain.php @@ -28,7 +28,8 @@ class Old_GitRestoreToEdugain implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitUpdateCategory.php b/app/Jobs/Old_Jobs/Old_GitUpdateCategory.php index dcf94aa..ef14bd3 100644 --- a/app/Jobs/Old_Jobs/Old_GitUpdateCategory.php +++ b/app/Jobs/Old_Jobs/Old_GitUpdateCategory.php @@ -28,7 +28,8 @@ public function __construct( public string $old_category, public Category $category, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitUpdateEntity.php b/app/Jobs/Old_Jobs/Old_GitUpdateEntity.php index cb700c9..34bd306 100644 --- a/app/Jobs/Old_Jobs/Old_GitUpdateEntity.php +++ b/app/Jobs/Old_Jobs/Old_GitUpdateEntity.php @@ -28,7 +28,8 @@ class Old_GitUpdateEntity implements ShouldQueue public function __construct( public Entity $entity, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitUpdateFederation.php b/app/Jobs/Old_Jobs/Old_GitUpdateFederation.php index 477ea57..f0ff96c 100644 --- a/app/Jobs/Old_Jobs/Old_GitUpdateFederation.php +++ b/app/Jobs/Old_Jobs/Old_GitUpdateFederation.php @@ -28,7 +28,8 @@ class Old_GitUpdateFederation implements ShouldQueue public function __construct( public Federation $federation, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Jobs/Old_Jobs/Old_GitUpdateGroup.php b/app/Jobs/Old_Jobs/Old_GitUpdateGroup.php index 4348691..a750798 100644 --- a/app/Jobs/Old_Jobs/Old_GitUpdateGroup.php +++ b/app/Jobs/Old_Jobs/Old_GitUpdateGroup.php @@ -28,7 +28,8 @@ public function __construct( public string $old_group, public Group $group, public User $user - ) {} + ) { + } /** * Execute the job. diff --git a/app/Mail/AskRs.php b/app/Mail/AskRs.php index 9b2a9e7..2ba9411 100644 --- a/app/Mail/AskRs.php +++ b/app/Mail/AskRs.php @@ -19,7 +19,8 @@ class AskRs extends Mailable implements ShouldQueue */ public function __construct( public Entity $entity - ) {} + ) { + } /** * Build the message. diff --git a/app/Mail/ExceptionOccured.php b/app/Mail/ExceptionOccured.php index 43e41e9..1794ae7 100644 --- a/app/Mail/ExceptionOccured.php +++ b/app/Mail/ExceptionOccured.php @@ -17,7 +17,8 @@ class ExceptionOccured extends Mailable */ public function __construct( public array $data - ) {} + ) { + } /** * Build the message. diff --git a/app/Mail/NewIdentityProvider.php b/app/Mail/NewIdentityProvider.php index 124c1bf..def8b30 100644 --- a/app/Mail/NewIdentityProvider.php +++ b/app/Mail/NewIdentityProvider.php @@ -18,7 +18,9 @@ class NewIdentityProvider extends Mailable * * @return void */ - public function __construct(public Entity $entity) {} + public function __construct(public Entity $entity) + { + } /** * Get the message envelope. diff --git a/app/Notifications/CategoryCreated.php b/app/Notifications/CategoryCreated.php index 5d9fc78..a87b17e 100644 --- a/app/Notifications/CategoryCreated.php +++ b/app/Notifications/CategoryCreated.php @@ -18,7 +18,8 @@ class CategoryCreated extends Notification */ public function __construct( public Category $category - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/CategoryDeleted.php b/app/Notifications/CategoryDeleted.php index 71d0c70..3f432ec 100644 --- a/app/Notifications/CategoryDeleted.php +++ b/app/Notifications/CategoryDeleted.php @@ -17,7 +17,8 @@ class CategoryDeleted extends Notification */ public function __construct( public string $category - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/CategoryUpdated.php b/app/Notifications/CategoryUpdated.php index ba1b689..41a0b78 100644 --- a/app/Notifications/CategoryUpdated.php +++ b/app/Notifications/CategoryUpdated.php @@ -18,7 +18,8 @@ class CategoryUpdated extends Notification */ public function __construct( public Category $category - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityAddedToHfd.php b/app/Notifications/EntityAddedToHfd.php index 9a558bf..5a72b53 100644 --- a/app/Notifications/EntityAddedToHfd.php +++ b/app/Notifications/EntityAddedToHfd.php @@ -18,7 +18,8 @@ class EntityAddedToHfd extends Notification */ public function __construct( public Entity $entity - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityAddedToRs.php b/app/Notifications/EntityAddedToRs.php index 0977ae9..94c971d 100644 --- a/app/Notifications/EntityAddedToRs.php +++ b/app/Notifications/EntityAddedToRs.php @@ -18,7 +18,8 @@ class EntityAddedToRs extends Notification */ public function __construct( public Entity $entity - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityDeletedFromFederation.php b/app/Notifications/EntityDeletedFromFederation.php index 0d348a5..177f329 100644 --- a/app/Notifications/EntityDeletedFromFederation.php +++ b/app/Notifications/EntityDeletedFromFederation.php @@ -20,7 +20,8 @@ class EntityDeletedFromFederation extends Notification public function __construct( public Entity $entity, public Federation $federation - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityDeletedFromHfd.php b/app/Notifications/EntityDeletedFromHfd.php index b3eb24c..746f2a0 100644 --- a/app/Notifications/EntityDeletedFromHfd.php +++ b/app/Notifications/EntityDeletedFromHfd.php @@ -18,7 +18,8 @@ class EntityDeletedFromHfd extends Notification */ public function __construct( public Entity $entity - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityDeletedFromRs.php b/app/Notifications/EntityDeletedFromRs.php index 147799f..517384e 100644 --- a/app/Notifications/EntityDeletedFromRs.php +++ b/app/Notifications/EntityDeletedFromRs.php @@ -18,7 +18,8 @@ class EntityDeletedFromRs extends Notification */ public function __construct( public Entity $entity - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityDestroyed.php b/app/Notifications/EntityDestroyed.php index c78c868..436111c 100644 --- a/app/Notifications/EntityDestroyed.php +++ b/app/Notifications/EntityDestroyed.php @@ -17,7 +17,8 @@ class EntityDestroyed extends Notification */ public function __construct( public string $name - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityEdugainStatusChanged.php b/app/Notifications/EntityEdugainStatusChanged.php index f5aa167..dc81bd6 100644 --- a/app/Notifications/EntityEdugainStatusChanged.php +++ b/app/Notifications/EntityEdugainStatusChanged.php @@ -18,7 +18,8 @@ class EntityEdugainStatusChanged extends Notification */ public function __construct( public Entity $entity - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityOperatorsChanged.php b/app/Notifications/EntityOperatorsChanged.php index d9edbf6..5266191 100644 --- a/app/Notifications/EntityOperatorsChanged.php +++ b/app/Notifications/EntityOperatorsChanged.php @@ -21,7 +21,8 @@ public function __construct( public Entity $entity, public Collection $operators, public string $action - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityRequested.php b/app/Notifications/EntityRequested.php index c9d1b97..b3cd72e 100644 --- a/app/Notifications/EntityRequested.php +++ b/app/Notifications/EntityRequested.php @@ -20,7 +20,8 @@ class EntityRequested extends Notification public function __construct( public Entity $entity, public Federation $federation - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityStateChanged.php b/app/Notifications/EntityStateChanged.php index 2f7b0dc..1665586 100644 --- a/app/Notifications/EntityStateChanged.php +++ b/app/Notifications/EntityStateChanged.php @@ -18,7 +18,8 @@ class EntityStateChanged extends Notification */ public function __construct( public Entity $entity - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/EntityUpdated.php b/app/Notifications/EntityUpdated.php index f0ae2ee..d4d07f1 100644 --- a/app/Notifications/EntityUpdated.php +++ b/app/Notifications/EntityUpdated.php @@ -18,7 +18,8 @@ class EntityUpdated extends Notification */ public function __construct( public Entity $entity - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/FederationApproved.php b/app/Notifications/FederationApproved.php index a806f27..92e05af 100644 --- a/app/Notifications/FederationApproved.php +++ b/app/Notifications/FederationApproved.php @@ -18,7 +18,8 @@ class FederationApproved extends Notification */ public function __construct( public Federation $federation - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/FederationDestroyed.php b/app/Notifications/FederationDestroyed.php index 738fc6e..4cde346 100644 --- a/app/Notifications/FederationDestroyed.php +++ b/app/Notifications/FederationDestroyed.php @@ -17,7 +17,8 @@ class FederationDestroyed extends Notification */ public function __construct( public string $name - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/FederationMemberChanged.php b/app/Notifications/FederationMemberChanged.php index ac7e02f..63a0ebd 100644 --- a/app/Notifications/FederationMemberChanged.php +++ b/app/Notifications/FederationMemberChanged.php @@ -21,7 +21,8 @@ public function __construct( public Federation $federation, public Entity $entity, public string $action - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/FederationMembersChanged.php b/app/Notifications/FederationMembersChanged.php index 15d85d1..3fe9616 100644 --- a/app/Notifications/FederationMembersChanged.php +++ b/app/Notifications/FederationMembersChanged.php @@ -21,7 +21,8 @@ public function __construct( public Federation $federation, public Collection $entities, public string $action - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/FederationOperatorsChanged.php b/app/Notifications/FederationOperatorsChanged.php index c9e8f1f..b7d10d5 100644 --- a/app/Notifications/FederationOperatorsChanged.php +++ b/app/Notifications/FederationOperatorsChanged.php @@ -21,7 +21,8 @@ public function __construct( public Federation $federation, public Collection $operators, public string $action - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/FederationRejected.php b/app/Notifications/FederationRejected.php index 806ed0c..2ec7018 100644 --- a/app/Notifications/FederationRejected.php +++ b/app/Notifications/FederationRejected.php @@ -17,7 +17,8 @@ class FederationRejected extends Notification */ public function __construct( public string $name - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/FederationRequested.php b/app/Notifications/FederationRequested.php index 330d60c..5630f24 100644 --- a/app/Notifications/FederationRequested.php +++ b/app/Notifications/FederationRequested.php @@ -18,7 +18,8 @@ class FederationRequested extends Notification */ public function __construct( public Federation $federation - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/FederationStateChanged.php b/app/Notifications/FederationStateChanged.php index b39ee0c..1515c3e 100644 --- a/app/Notifications/FederationStateChanged.php +++ b/app/Notifications/FederationStateChanged.php @@ -18,7 +18,8 @@ class FederationStateChanged extends Notification */ public function __construct( public Federation $federation - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/FederationUpdated.php b/app/Notifications/FederationUpdated.php index a1e6011..4326240 100644 --- a/app/Notifications/FederationUpdated.php +++ b/app/Notifications/FederationUpdated.php @@ -18,7 +18,8 @@ class FederationUpdated extends Notification */ public function __construct( public Federation $federation - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/GroupCreated.php b/app/Notifications/GroupCreated.php index 59f2ad9..46adf30 100644 --- a/app/Notifications/GroupCreated.php +++ b/app/Notifications/GroupCreated.php @@ -18,7 +18,8 @@ class GroupCreated extends Notification */ public function __construct( public Group $group - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/GroupDeleted.php b/app/Notifications/GroupDeleted.php index 2cc6868..f6babea 100644 --- a/app/Notifications/GroupDeleted.php +++ b/app/Notifications/GroupDeleted.php @@ -17,7 +17,8 @@ class GroupDeleted extends Notification */ public function __construct( public string $group - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/GroupUpdated.php b/app/Notifications/GroupUpdated.php index 3dc38cc..90a64fb 100644 --- a/app/Notifications/GroupUpdated.php +++ b/app/Notifications/GroupUpdated.php @@ -18,7 +18,8 @@ class GroupUpdated extends Notification */ public function __construct( public Group $group - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/IdpCategoryChanged.php b/app/Notifications/IdpCategoryChanged.php index aff5515..0a14016 100644 --- a/app/Notifications/IdpCategoryChanged.php +++ b/app/Notifications/IdpCategoryChanged.php @@ -20,7 +20,8 @@ class IdpCategoryChanged extends Notification public function __construct( public Entity $entity, public Category $category - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/MembershipAccepted.php b/app/Notifications/MembershipAccepted.php index f5ae933..a7ee98b 100644 --- a/app/Notifications/MembershipAccepted.php +++ b/app/Notifications/MembershipAccepted.php @@ -18,7 +18,8 @@ class MembershipAccepted extends Notification */ public function __construct( public Membership $membership - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/MembershipRejected.php b/app/Notifications/MembershipRejected.php index 4f962cc..0815b5f 100644 --- a/app/Notifications/MembershipRejected.php +++ b/app/Notifications/MembershipRejected.php @@ -18,7 +18,8 @@ class MembershipRejected extends Notification public function __construct( public string $entity, public string $federation - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/TooManyRequests.php b/app/Notifications/TooManyRequests.php index 2bbfb35..956b75a 100644 --- a/app/Notifications/TooManyRequests.php +++ b/app/Notifications/TooManyRequests.php @@ -14,7 +14,9 @@ class TooManyRequests extends Notification /** * Create a new notification instance. */ - public function __construct(public User $user) {} + public function __construct(public User $user) + { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/UserCreated.php b/app/Notifications/UserCreated.php index ff2d34a..d5641c1 100644 --- a/app/Notifications/UserCreated.php +++ b/app/Notifications/UserCreated.php @@ -18,7 +18,8 @@ class UserCreated extends Notification */ public function __construct( public User $user - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/UserRoleChanged.php b/app/Notifications/UserRoleChanged.php index 02de030..34b84ba 100644 --- a/app/Notifications/UserRoleChanged.php +++ b/app/Notifications/UserRoleChanged.php @@ -18,7 +18,8 @@ class UserRoleChanged extends Notification */ public function __construct( public User $user - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/UserStatusChanged.php b/app/Notifications/UserStatusChanged.php index 90dfbe5..e3955c3 100644 --- a/app/Notifications/UserStatusChanged.php +++ b/app/Notifications/UserStatusChanged.php @@ -18,7 +18,8 @@ class UserStatusChanged extends Notification */ public function __construct( public User $user - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/YourEntityRightsChanged.php b/app/Notifications/YourEntityRightsChanged.php index 0382eda..0c56c73 100644 --- a/app/Notifications/YourEntityRightsChanged.php +++ b/app/Notifications/YourEntityRightsChanged.php @@ -19,7 +19,8 @@ class YourEntityRightsChanged extends Notification public function __construct( public Entity $entity, public string $action - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/Notifications/YourFederationRightsChanged.php b/app/Notifications/YourFederationRightsChanged.php index dd84dd2..a0cb9f9 100644 --- a/app/Notifications/YourFederationRightsChanged.php +++ b/app/Notifications/YourFederationRightsChanged.php @@ -19,7 +19,8 @@ class YourFederationRightsChanged extends Notification public function __construct( public Federation $federation, public string $action - ) {} + ) { + } /** * Get the notification's delivery channels. diff --git a/app/View/Components/Buttons/Back.php b/app/View/Components/Buttons/Back.php index 88c196a..0ee5022 100644 --- a/app/View/Components/Buttons/Back.php +++ b/app/View/Components/Buttons/Back.php @@ -11,7 +11,9 @@ class Back extends Component * * @return void */ - public function __construct() {} + public function __construct() + { + } /** * Get the view / contents that represent the component. diff --git a/app/View/Components/Element/BodySection.php b/app/View/Components/Element/BodySection.php index 4b8defd..9d1e60c 100644 --- a/app/View/Components/Element/BodySection.php +++ b/app/View/Components/Element/BodySection.php @@ -11,7 +11,9 @@ class BodySection extends Component /** * Create a new component instance. */ - public function __construct() {} + public function __construct() + { + } /** * Get the view / contents that represent the component. diff --git a/app/View/Components/FormTable/HeadCell.php b/app/View/Components/FormTable/HeadCell.php index 709ea02..b9a2061 100644 --- a/app/View/Components/FormTable/HeadCell.php +++ b/app/View/Components/FormTable/HeadCell.php @@ -11,7 +11,9 @@ class HeadCell extends Component /** * Create a new component instance. */ - public function __construct() {} + public function __construct() + { + } /** * Get the view / contents that represent the component. diff --git a/app/View/Components/Forms/MembershipAccept.php b/app/View/Components/Forms/MembershipAccept.php index d8f16d5..e2f1bbf 100644 --- a/app/View/Components/Forms/MembershipAccept.php +++ b/app/View/Components/Forms/MembershipAccept.php @@ -12,7 +12,9 @@ class MembershipAccept extends Component * * @return void */ - public function __construct(public Membership $membership) {} + public function __construct(public Membership $membership) + { + } /** * Get the view / contents that represent the component. diff --git a/app/View/Components/Forms/MembershipReject.php b/app/View/Components/Forms/MembershipReject.php index 01b854e..67e0a28 100644 --- a/app/View/Components/Forms/MembershipReject.php +++ b/app/View/Components/Forms/MembershipReject.php @@ -12,7 +12,9 @@ class MembershipReject extends Component * * @return void */ - public function __construct(public Membership $membership) {} + public function __construct(public Membership $membership) + { + } /** * Get the view / contents that represent the component.