Skip to content

Commit

Permalink
fix pint
Browse files Browse the repository at this point in the history
  • Loading branch information
temaotl committed Nov 18, 2024
1 parent 14b7538 commit cc9e545
Show file tree
Hide file tree
Showing 80 changed files with 82 additions and 181 deletions.
5 changes: 1 addition & 4 deletions app/Http/Controllers/CategoryManagementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ class CategoryManagementController extends Controller
{
use GitTrait;

public function __construct()
{

}
public function __construct() {}

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

public function __construct()
{

}
public function __construct() {}

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

public function __construct()
{

}
public function __construct() {}

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

public function __construct()
{

}
public function __construct() {}

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

class EntityPreviewMetadataController extends Controller
{
public function __construct()
{

}
public function __construct() {}

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

class FederationJoinController extends Controller
{
public function __construct()
{

}
public function __construct() {}

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

public function __construct()
{

}
public function __construct() {}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

0 comments on commit cc9e545

Please sign in to comment.