Skip to content

Commit

Permalink
#10 - cr fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilpiech97 committed Oct 3, 2023
1 parent 290395b commit f008c7e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions app/Enums/ClassType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

enum ClassType: string
{
case LABORATORY = "laboratory";
case Laboratory = "laboratory";
case LECTURE = "lecture";
case SEMINAR = "seminar";
case WORKSHOP = "workshop";
case EXERCISES = "exercises";
case PROJECT = "project";
case Seminar = "seminar";
case Workshop = "workshop";
case Exercises = "exercises";
case Project = "project";

public static function labels(): array
{
Expand Down
4 changes: 2 additions & 2 deletions app/Enums/StudyForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

enum StudyForm: string
{
case STATIONARY = "stationary";
case PART_TIME = "part-time";
case Stationary = "stationary";
case PartTime = "part-time";

public static function labels(): array
{
Expand Down
4 changes: 2 additions & 2 deletions database/factories/CourseFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public function definition(): array
"abbreviation" => fake()->asciify("*"),
"description" => fake()->text,
"semester" => fake()->numberBetween(1, 10),
"type" => ClassType::LABORATORY->value,
"form" => StudyForm::STATIONARY->value,
"type" => ClassType::Laboratory->value,
"form" => StudyForm::Stationary->value,
];
}
}

0 comments on commit f008c7e

Please sign in to comment.