Skip to content

Commit

Permalink
Syntax cleaning with Pint
Browse files Browse the repository at this point in the history
  • Loading branch information
JanOppolzer committed Nov 22, 2024
1 parent de08aa3 commit 01c2e08
Show file tree
Hide file tree
Showing 77 changed files with 168 additions and 77 deletions.
4 changes: 3 additions & 1 deletion app/Http/Controllers/CategoryManagementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ class CategoryManagementController extends Controller
{
use GitTrait;

public function __construct() {}
public function __construct()
{
}

public function index()
{
Expand Down
4 changes: 3 additions & 1 deletion app/Http/Controllers/EntityFederationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ class EntityFederationController extends Controller
{
use GitTrait;

public function __construct() {}
public function __construct()
{
}

public function index(Entity $entity)
{
Expand Down
4 changes: 3 additions & 1 deletion app/Http/Controllers/EntityManagementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ class EntityManagementController extends Controller
{
use GitTrait, ValidatorTrait;

public function __construct() {}
public function __construct()
{
}

public function index()
{
Expand Down
4 changes: 3 additions & 1 deletion app/Http/Controllers/EntityOrganizationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ class EntityOrganizationController extends Controller
{
use ValidatorTrait;

public function __construct() {}
public function __construct()
{
}

public function update(Entity $entity, AssignOrganization $request)
{
Expand Down
4 changes: 3 additions & 1 deletion app/Http/Controllers/EntityPreviewMetadataController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

class EntityPreviewMetadataController extends Controller
{
public function __construct() {}
public function __construct()
{
}

public function show(Entity $entity)
{
Expand Down
4 changes: 3 additions & 1 deletion app/Http/Controllers/FederationJoinController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

class FederationJoinController extends Controller
{
public function __construct() {}
public function __construct()
{
}

public function index(Federation $federation)
{
Expand Down
4 changes: 3 additions & 1 deletion app/Http/Controllers/GroupManagementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ class GroupManagementController extends Controller
{
use GitTrait;

public function __construct() {}
public function __construct()
{
}

public function index()
{
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitAddCategory implements ShouldQueue
public function __construct(
public Category $category,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitAddEntity implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddFederation.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public function __construct(
public Federation $federation,
public string $action,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitAddGroup implements ShouldQueue
public function __construct(
public Group $group,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function __construct(
public Federation $federation,
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddMembers.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function __construct(
public Federation $federation,
public Collection $entities,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddMembership.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitAddMembership implements ShouldQueue
public function __construct(
public Membership $membership,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddToCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function __construct(
public Category $category,
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddToEdugain.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitAddToEdugain implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddToHfd.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitAddToHfd implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitAddToRs.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitAddToRs implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class Old_GitDeleteCategory implements ShouldQueue
public function __construct(
public string $category,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitDeleteEntity implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteFederation.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class Old_GitDeleteFederation implements ShouldQueue
public function __construct(
public Federation $federation,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteFromCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function __construct(
public ?Category $category,
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteFromEdugain.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitDeleteFromEdugain implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteFromFederation.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function __construct(
public Entity $entity,
public Federation $federation,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteFromHfd.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitDeleteFromHfd implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteFromRs.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitDeleteFromRs implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class Old_GitDeleteGroup implements ShouldQueue
public function __construct(
public string $group,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitDeleteMembers.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function __construct(
public Federation $federation,
public Collection $entities,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitRestoreToCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitRestoreToCategory implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitRestoreToEdugain.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitRestoreToEdugain implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitUpdateCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public function __construct(
public string $old_category,
public Category $category,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitUpdateEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitUpdateEntity implements ShouldQueue
public function __construct(
public Entity $entity,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitUpdateFederation.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Old_GitUpdateFederation implements ShouldQueue
public function __construct(
public Federation $federation,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Jobs/Old_Jobs/Old_GitUpdateGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public function __construct(
public string $old_group,
public Group $group,
public User $user
) {}
) {
}

/**
* Execute the job.
Expand Down
3 changes: 2 additions & 1 deletion app/Mail/AskRs.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class AskRs extends Mailable implements ShouldQueue
*/
public function __construct(
public Entity $entity
) {}
) {
}

/**
* Build the message.
Expand Down
3 changes: 2 additions & 1 deletion app/Mail/ExceptionOccured.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class ExceptionOccured extends Mailable
*/
public function __construct(
public array $data
) {}
) {
}

/**
* Build the message.
Expand Down
4 changes: 3 additions & 1 deletion app/Mail/NewIdentityProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CategoryCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class CategoryCreated extends Notification
*/
public function __construct(
public Category $category
) {}
) {
}

/**
* Get the notification's delivery channels.
Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CategoryDeleted.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class CategoryDeleted extends Notification
*/
public function __construct(
public string $category
) {}
) {
}

/**
* Get the notification's delivery channels.
Expand Down
Loading

0 comments on commit 01c2e08

Please sign in to comment.