Skip to content

Commit

Permalink
misc: moved TaskTypes to folder
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Oct 4, 2023
1 parent 2a83d25 commit 5d84567
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/Tasks/Types/CustomRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use App\Tasks\TaskTypes;
use App\Models\Task;

class CustomRequest extends TaskTypes
class CustomRequest extends Types
{
public function getName() {
return 'Custom Request';
Expand Down
4 changes: 2 additions & 2 deletions app/Tasks/Types/RatingUpgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
use App\Models\Task;
use App\Models\User;
use App\Models\Training;
use App\Tasks\TaskTypes;
use App\Tasks\Types\Types;

class RatingUpgrade extends TaskTypes
class RatingUpgrade extends Types
{
public function getName() {
return 'Rating Upgrade';
Expand Down
4 changes: 2 additions & 2 deletions app/Tasks/Types/SoloEndorsement.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace App\Tasks\Types;

use App\Tasks\TaskTypes;
use App\Tasks\Types\Types;
use App\Models\Task;
use App\Models\User;
use App\Models\Training;

class SoloEndorsement extends TaskTypes
class SoloEndorsement extends Types
{
public function getName() {
return 'Solo Endorsement';
Expand Down
4 changes: 2 additions & 2 deletions app/Tasks/Types/TheoreticalExam.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace App\Tasks\Types;

use App\Tasks\TaskTypes;
use App\Tasks\Types\Types;
use App\Models\Task;
use App\Models\User;
use App\Models\Training;

class TheoreticalExam extends TaskTypes
class TheoreticalExam extends Types
{
public function getName() {
return 'Theoretical Exam Access';
Expand Down
4 changes: 2 additions & 2 deletions app/Tasks/TaskTypes.php → app/Tasks/Types/Types.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace App\Tasks;
namespace App\Tasks\Types;

use App\Models\Task;

abstract class TaskTypes
abstract class Types
{
protected $name;
protected $icon;
Expand Down

0 comments on commit 5d84567

Please sign in to comment.