Skip to content

Commit

Permalink
Delete implicit contructor from Controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
JanOppolzer committed Nov 22, 2024
1 parent 8a6aea5 commit a33ed11
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions app/Http/Controllers/CategoryManagementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class CategoryManagementController extends Controller
{
use GitTrait;

public function __construct() {}

public function index()
{
$this->authorize('do-everything');
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/EntityFederationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ class EntityFederationController extends Controller
{
use GitTrait;

public function __construct() {}

public function index(Entity $entity)
{
$this->authorize('view', $entity);
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/EntityManagementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class EntityManagementController extends Controller
{
use GitTrait, ValidatorTrait;

public function __construct() {}

public function index()
{
$this->authorize('do-everything');
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/EntityOrganizationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ class EntityOrganizationController extends Controller
{
use ValidatorTrait;

public function __construct() {}

public function update(Entity $entity, AssignOrganization $request)
{
$this->authorize('do-everything');
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/EntityPreviewMetadataController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

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

public function show(Entity $entity)
{
$this->authorize('view', $entity);
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/FederationJoinController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

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

public function index(Federation $federation)
{
$this->authorize('update', $federation);
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/GroupManagementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class GroupManagementController extends Controller
{
use GitTrait;

public function __construct() {}

public function index()
{
$this->authorize('do-everything');
Expand Down

0 comments on commit a33ed11

Please sign in to comment.